Package com.saperion.constants
Enum SaWFConstants.CommandId
- java.lang.Object
-
- java.lang.Enum<SaWFConstants.CommandId>
-
- com.saperion.constants.SaWFConstants.CommandId
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SaWFConstants.CommandId>
- Enclosing class:
- SaWFConstants
public static enum SaWFConstants.CommandId extends java.lang.Enum<SaWFConstants.CommandId>
command ids.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WF_APPROVE
Approve.WF_ASSIGNTOME
AssignToMe.WF_CHANGEOWNER
Change owner.WF_COMMENTS
Get Comments.WF_EDITDOCUMENT
Edit document.WF_EDITDOCUMENTINDEX
Edit document index.WF_EDITWORKFLOWINDEX
Edit workflow index.WF_ESCALATION
Escalation.WF_FORWARD
Forward.WF_HISTORY
Get history.WF_HOLD
Hold.WF_NOTRESPONSIBLE
Nor responsible.WF_PAUSE
Pause.WF_PUTBACK
Put back.WF_REASSIGN
Reassign.WF_REJECT
Reject.WF_REMOVE
Remove.WF_REMOVENOTICE
RemoveNotice.WF_RESETHOLD
ResetHold.WF_REWORK
Rework.WF_RUN
Run.WF_SETNODE
Set node.WF_SETUSER
Set user.WF_START
Start.WF_TAKE
Take.WF_TERMINATE
Terminate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaWFConstants.CommandId
fromInt(int reqId)
Converts from int.int
getId()
int
getMsgId()
static SaWFConstants.CommandId
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SaWFConstants.CommandId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WF_START
public static final SaWFConstants.CommandId WF_START
Start.
-
WF_FORWARD
public static final SaWFConstants.CommandId WF_FORWARD
Forward.
-
WF_APPROVE
public static final SaWFConstants.CommandId WF_APPROVE
Approve.
-
WF_REJECT
public static final SaWFConstants.CommandId WF_REJECT
Reject.
-
WF_REWORK
public static final SaWFConstants.CommandId WF_REWORK
Rework.
-
WF_NOTRESPONSIBLE
public static final SaWFConstants.CommandId WF_NOTRESPONSIBLE
Nor responsible.
-
WF_TAKE
public static final SaWFConstants.CommandId WF_TAKE
Take.
-
WF_REMOVE
public static final SaWFConstants.CommandId WF_REMOVE
Remove.
-
WF_REMOVENOTICE
public static final SaWFConstants.CommandId WF_REMOVENOTICE
RemoveNotice.
-
WF_HOLD
public static final SaWFConstants.CommandId WF_HOLD
Hold.
-
WF_ESCALATION
public static final SaWFConstants.CommandId WF_ESCALATION
Escalation.
-
WF_PAUSE
public static final SaWFConstants.CommandId WF_PAUSE
Pause.
-
WF_RUN
public static final SaWFConstants.CommandId WF_RUN
Run.
-
WF_TERMINATE
public static final SaWFConstants.CommandId WF_TERMINATE
Terminate.
-
WF_CHANGEOWNER
public static final SaWFConstants.CommandId WF_CHANGEOWNER
Change owner.
-
WF_SETNODE
public static final SaWFConstants.CommandId WF_SETNODE
Set node.
-
WF_SETUSER
public static final SaWFConstants.CommandId WF_SETUSER
Set user.
-
WF_HISTORY
public static final SaWFConstants.CommandId WF_HISTORY
Get history.
-
WF_PUTBACK
public static final SaWFConstants.CommandId WF_PUTBACK
Put back.
-
WF_REASSIGN
public static final SaWFConstants.CommandId WF_REASSIGN
Reassign.
-
WF_ASSIGNTOME
public static final SaWFConstants.CommandId WF_ASSIGNTOME
AssignToMe.
-
WF_RESETHOLD
public static final SaWFConstants.CommandId WF_RESETHOLD
ResetHold.
-
WF_EDITWORKFLOWINDEX
public static final SaWFConstants.CommandId WF_EDITWORKFLOWINDEX
Edit workflow index.
-
WF_EDITDOCUMENTINDEX
public static final SaWFConstants.CommandId WF_EDITDOCUMENTINDEX
Edit document index.
-
WF_EDITDOCUMENT
public static final SaWFConstants.CommandId WF_EDITDOCUMENT
Edit document.
-
WF_COMMENTS
public static final SaWFConstants.CommandId WF_COMMENTS
Get Comments.
-
-
Method Detail
-
values
public static SaWFConstants.CommandId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SaWFConstants.CommandId c : SaWFConstants.CommandId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaWFConstants.CommandId valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getId
public int getId()
- Returns:
- ID
-
getMsgId
public int getMsgId()
- Returns:
- Message ID
-
fromInt
public static SaWFConstants.CommandId fromInt(int reqId)
Converts from int.- Parameters:
reqId
- Integer value- Returns:
- RequestId
-
-