Class RecordUtils


  • public class RecordUtils
    extends Object
    Util class for records
    Since:
    2.4
    Author:
    Tuna Aksoy
    • 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.