org.kuali.rice.kew.impl.document
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationDocumentStatusUtils
public ApplicationDocumentStatusUtils()
getApplicationDocumentStatusCategories
public static LinkedHashMap<String,List<String>> getApplicationDocumentStatusCategories(String documentTypeName)
- See Also:
#getApplicationDocumentStatusCategories(org.kuali.rice.kew.doctype.bo.DocumentType)}
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
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.