Class IdentifierServiceImpl
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.identifier.IdentifierServiceImpl
- All Implemented Interfaces:
IdentifierService
- Author:
- Roy Wetherall
-
Field Summary
Fields inherited from interface org.alfresco.module.org_alfresco_module_rm.identifier.IdentifierService
CONTEXT_NODEREF, CONTEXT_ORIG_TYPE, CONTEXT_PARENT_NODEREF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateIdentifier(NodeRef nodeRef) Generate an identifier for the given node.generateIdentifier(QName type, NodeRef parent) Generate an identifier for a node with the given type and parent.voidregister(IdentifierGenerator idGen) Register an identifier generator implementation with the service.voidsetDictionaryService(DictionaryService dictionaryService) Set the dictionary servicevoidsetNodeService(NodeService nodeService) Set the node service
-
Constructor Details
-
IdentifierServiceImpl
public IdentifierServiceImpl()
-
-
Method Details
-
setNodeService
Set the node service- Parameters:
nodeService- node service
-
setDictionaryService
Set the dictionary service- Parameters:
dictionaryService- dictionary service
-
generateIdentifier
Description copied from interface:IdentifierServiceGenerate an identifier for a node with the given type and parent.- Specified by:
generateIdentifierin interfaceIdentifierService- Parameters:
type- type of the nodeparent- parent of the ndoe- Returns:
- String generated identifier
- See Also:
-
generateIdentifier
Description copied from interface:IdentifierServiceGenerate an identifier for the given node.- Specified by:
generateIdentifierin interfaceIdentifierService- Parameters:
nodeRef- node reference- Returns:
- String generated identifier
- See Also:
-
register
Description copied from interface:IdentifierServiceRegister an identifier generator implementation with the service.- Specified by:
registerin interfaceIdentifierService- Parameters:
idGen- identifier generator implementation- See Also:
-