Class SearchUtil
- 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 Summary
Fields Modifier and Type Field Description protected org.alfresco.service.cmr.repository.NodeService
nodeService
Node service
-
Constructor Summary
Constructors Constructor Description SearchUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.alfresco.service.cmr.repository.NodeRef
getRootContainer(org.alfresco.service.namespace.QName container)
Helper method to get the classification reason root container.protected Set<String>
retrieveAllNodeIds(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Use a container node ref and return the nodeIds of the contentsvoid
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Setter for node service
-
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Setter for node service- Parameters:
nodeService
- Node service
-
retrieveAllNodeIds
protected Set<String> retrieveAllNodeIds(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Use a container node ref and return the nodeIds of the contents- Parameters:
nodeRef
- container- Returns:
- list of nodeIds
-
getRootContainer
protected org.alfresco.service.cmr.repository.NodeRef getRootContainer(org.alfresco.service.namespace.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
-
-