Class SearchUtil
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.script.slingshot.SearchUtil
- Direct Known Subclasses:
ClassificationReasonsUtil
Parent class for records search utilities
- Since:
- 2.7
- Author:
- Ross Gale
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NodeRef
getRootContainer
(QName container) Helper method to get the classification reason root container.retrieveAllNodeIds
(NodeRef nodeRef) Use a container node ref and return the nodeIds of the contentsvoid
setNodeService
(NodeService nodeService) Setter for node service
-
Field Details
-
nodeService
Node service
-
-
Constructor Details
-
SearchUtil
public SearchUtil()
-
-
Method Details
-
setNodeService
Setter for node service- Parameters:
nodeService
- Node service
-
retrieveAllNodeIds
Use a container node ref and return the nodeIds of the contents- Parameters:
nodeRef
- container- Returns:
- list of nodeIds
-
getRootContainer
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
-