Interface IdentifierGenerator
- All Known Implementing Classes:
BasicIdentifierGenerator
,IdentifierGeneratorBase
@AlfrescoPublicApi
public interface IdentifierGenerator
Generates an identifier for a content type from a given context.
- Author:
- Roy Wetherall
-
Method Summary
Modifier and TypeMethodDescriptiongenerateId
(Map<String, Serializable> context) Generates the next id based on the provided context.getType()
The content type this generator is applicible to.
-
Method Details
-
getType
QName getType()The content type this generator is applicible to.- Returns:
- QName the type
-
generateId
Generates the next id based on the provided context.- Parameters:
context
- map of context values- Returns:
- String the next id
-