Class ApplicationDocumentStatusUtils

java.lang.Object
org.kuali.rice.kew.impl.document.ApplicationDocumentStatusUtils

public class ApplicationDocumentStatusUtils extends Object
Utility class for assisting with application document status
  • Constructor Details

    • ApplicationDocumentStatusUtils

      public ApplicationDocumentStatusUtils()
  • Method Details

    • getApplicationDocumentStatusCategories

      public static LinkedHashMap<String,List<String>> getApplicationDocumentStatusCategories(String documentTypeName)
    • getApplicationDocumentStatusCategories

      public static LinkedHashMap<String,List<String>> getApplicationDocumentStatusCategories(DocumentType documentType)

      Returns the categories defined for the given DocumentType. The returned ordered map's keys are the category names, and the values are Lists of the status values within the category. Ordering is maintained so that the form field can reflect the configuration in the parameter.

      Note that the hierarchy for the given document type will be walked until application document statuses are found, or the available ancestry is exhausted.

      Parameters:
      documentType - the document type for which to retrieve the defined application document status categories
      Returns:
      the application document status categories, or an empty map if there are none defined for the given document type