Class ClassificationReasonsUtil
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.script.slingshot.SearchUtil
org.alfresco.module.org_alfresco_module_rm.script.slingshot.ClassificationReasonsUtil
Method to replace the plain text classification reason id with the correct nodeRef during record search
- Since:
- 2.7
- Author:
- Ross Gale
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QName
static final String
static final QName
static final String
Fields inherited from class org.alfresco.module.org_alfresco_module_rm.script.slingshot.SearchUtil
nodeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreplaceReasonWithNodeRef
(String searchQuery) Replace plain text reason id with nodeRefMethods inherited from class org.alfresco.module.org_alfresco_module_rm.script.slingshot.SearchUtil
getRootContainer, retrieveAllNodeIds, setNodeService
-
Field Details
-
CR_URI
- See Also:
-
CLASSIFICATION_REASONS_CONTAINER
-
PROP_CLASSIFICATION_REASON_CODE
-
REASONS_KEY
- See Also:
-
-
Constructor Details
-
ClassificationReasonsUtil
public ClassificationReasonsUtil()
-
-
Method Details
-
replaceReasonWithNodeRef
Replace plain text reason id with nodeRef- Parameters:
searchQuery
- String e.g. clf:classificationReasons:1.4(a)- Returns:
- String e.g. clf:classificationReasons:5cc6d344-fa94-4370-9c81-d947b7e8f2ac
-