java.lang.Object
org.alfresco.module.org_alfresco_module_rm.script.slingshot.RecordCategoryUtil

public class RecordCategoryUtil extends Object
Utility class for record categories
Since:
2.7
Author:
Ross Gale
  • Constructor Details

    • RecordCategoryUtil

      public RecordCategoryUtil()
  • Method Details

    • setNodeService

      public void setNodeService(NodeService nodeService)
      Setter for the node service
      Parameters:
      nodeService - Node service
    • getCategoryIdFromNodeId

      public String getCategoryIdFromNodeId(NodeRef nodeRef, boolean includeFolders)
      Return the record category id for a file plan element
      Parameters:
      nodeRef - the node reference of the file plan element
      includeFolders - return an id for records, folders and categories
      Returns:
      Record category identifier