|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DocumentStatus> org.kuali.rice.kew.api.document.DocumentStatus
public enum DocumentStatus
An enumeration representing valid workflow document statuses.
Enum Constant Summary | |
---|---|
CANCELED
|
|
DISAPPROVED
|
|
ENROUTE
|
|
EXCEPTION
|
|
FINAL
|
|
INITIATED
|
|
PROCESSED
|
|
RECALLED
When invoked, RECALL & CANCEL action will perform the RECALL and set the route status of the document to the new, terminal status of RECALLED |
|
SAVED
|
Method Summary | |
---|---|
static DocumentStatus |
fromCode(String code)
|
DocumentStatusCategory |
getCategory()
|
String |
getCode()
The code value for this object. |
String |
getLabel()
|
static EnumSet<DocumentStatus> |
getStatusesForCategory(DocumentStatusCategory category)
|
static DocumentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DocumentStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DocumentStatus INITIATED
public static final DocumentStatus SAVED
public static final DocumentStatus ENROUTE
public static final DocumentStatus EXCEPTION
public static final DocumentStatus PROCESSED
public static final DocumentStatus FINAL
public static final DocumentStatus CANCELED
public static final DocumentStatus DISAPPROVED
public static final DocumentStatus RECALLED
Method Detail |
---|
public static DocumentStatus[] values()
for (DocumentStatus c : DocumentStatus.values()) System.out.println(c);
public static DocumentStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getCode()
Coded
getCode
in interface Coded
public DocumentStatusCategory getCategory()
public String getLabel()
public static DocumentStatus fromCode(String code)
public static EnumSet<DocumentStatus> getStatusesForCategory(DocumentStatusCategory category)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |