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

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 Details

    • CR_URI

      public static final String CR_URI
      See Also:
    • CLASSIFICATION_REASONS_CONTAINER

      public static final QName CLASSIFICATION_REASONS_CONTAINER
    • PROP_CLASSIFICATION_REASON_CODE

      public static final QName PROP_CLASSIFICATION_REASON_CODE
    • REASONS_KEY

      public static final String REASONS_KEY
      See Also:
  • Constructor Details

    • ClassificationReasonsUtil

      public ClassificationReasonsUtil()
  • Method Details

    • 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