java.lang.Object
org.alfresco.module.org_alfresco_module_rm.script.slingshot.SearchUtil
Direct Known Subclasses:
ClassificationReasonsUtil

public class SearchUtil extends Object
Parent class for records search utilities
Since:
2.7
Author:
Ross Gale
  • Field Details

    • nodeService

      protected NodeService nodeService
      Node service
  • Constructor Details

    • SearchUtil

      public SearchUtil()
  • Method Details

    • setNodeService

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

      protected Set<String> retrieveAllNodeIds(NodeRef nodeRef)
      Use a container node ref and return the nodeIds of the contents
      Parameters:
      nodeRef - container
      Returns:
      list of nodeIds
    • getRootContainer

      protected NodeRef getRootContainer(QName container)
      Helper method to get the classification reason root container. The method creates the container if it doesn't already exist.
      Returns:
      reference to the classification reason root container