Class RecordUtils
- java.lang.Object
-
- org.alfresco.module.org_alfresco_module_rm.record.RecordUtils
-
public class RecordUtils extends Object
Util class for records- Since:
- 2.4
- Author:
- Tuna Aksoy
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
appendIdentifierToName(org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.repository.NodeRef nodeRef)
Appends the record identifier to the name of the recordstatic void
generateRecordIdentifier(org.alfresco.service.cmr.repository.NodeService nodeService, IdentifierService identifierService, org.alfresco.service.cmr.repository.NodeRef record)
Utility method that generates a record identifier and adds the new identifier to the record's name
-
-
-
Method Detail
-
generateRecordIdentifier
public static void generateRecordIdentifier(org.alfresco.service.cmr.repository.NodeService nodeService, IdentifierService identifierService, org.alfresco.service.cmr.repository.NodeRef record)
Utility method that generates a record identifier and adds the new identifier to the record's name- Parameters:
record
- the record to generate the identifier for
-
appendIdentifierToName
public static void appendIdentifierToName(org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.repository.NodeRef nodeRef)
Appends the record identifier to the name of the record- Parameters:
nodeRef
- The node reference of the record.
-
-