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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
generateId(Map<String,Serializable> context)
Generates the next id based on the provided context.QName
getType()
The content type this generator is applicible to.
-
-
-
Method Detail
-
getType
QName getType()
The content type this generator is applicible to.- Returns:
- QName the type
-
generateId
String generateId(Map<String,Serializable> context)
Generates the next id based on the provided context.- Parameters:
context
- map of context values- Returns:
- String the next id
-
-