Class ClassificationReasonsUtil


  • public class ClassificationReasonsUtil
    extends SearchUtil
    Method to replace the plain text classification reason id with the correct nodeRef during record search
    Since:
    2.7
    Author:
    Ross Gale
    • Field Detail

      • CLASSIFICATION_REASONS_CONTAINER

        public static final org.alfresco.service.namespace.QName CLASSIFICATION_REASONS_CONTAINER
      • PROP_CLASSIFICATION_REASON_CODE

        public static final org.alfresco.service.namespace.QName PROP_CLASSIFICATION_REASON_CODE
    • Constructor Detail

      • ClassificationReasonsUtil

        public ClassificationReasonsUtil()
    • Method Detail

      • replaceReasonWithNodeRef

        public String replaceReasonWithNodeRef​(String searchQuery)
        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