Package com.saperion.constants
Enum Class SaWFConstants.CommandId
- All Implemented Interfaces:
Serializable
,Comparable<SaWFConstants.CommandId>
,Constable
- Enclosing class:
- SaWFConstants
command ids.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApprove.AssignToMe.Change owner.Get Comments.Edit document.Edit document index.Edit workflow index.Escalation.Forward.Get history.Hold.Nor responsible.Pause.Put back.Reassign.Reject.Remove.RemoveNotice.ResetHold.Rework.Run.Set node.Set user.Start.Take.Terminate. -
Method Summary
Modifier and TypeMethodDescriptionstatic SaWFConstants.CommandId
fromInt
(int reqId) Converts from int.int
getId()
int
getMsgId()
static SaWFConstants.CommandId
Returns the enum constant of this class with the specified name.static SaWFConstants.CommandId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WF_START
Start. -
WF_FORWARD
Forward. -
WF_APPROVE
Approve. -
WF_REJECT
Reject. -
WF_REWORK
Rework. -
WF_NOTRESPONSIBLE
Nor responsible. -
WF_TAKE
Take. -
WF_REMOVE
Remove. -
WF_REMOVENOTICE
RemoveNotice. -
WF_HOLD
Hold. -
WF_ESCALATION
Escalation. -
WF_PAUSE
Pause. -
WF_RUN
Run. -
WF_TERMINATE
Terminate. -
WF_CHANGEOWNER
Change owner. -
WF_SETNODE
Set node. -
WF_SETUSER
Set user. -
WF_HISTORY
Get history. -
WF_PUTBACK
Put back. -
WF_REASSIGN
Reassign. -
WF_ASSIGNTOME
AssignToMe. -
WF_RESETHOLD
ResetHold. -
WF_EDITWORKFLOWINDEX
Edit workflow index. -
WF_EDITDOCUMENTINDEX
Edit document index. -
WF_EDITDOCUMENT
Edit document. -
WF_COMMENTS
Get Comments.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public int getId()- Returns:
- ID
-
getMsgId
public int getMsgId()- Returns:
- Message ID
-
fromInt
Converts from int.- Parameters:
reqId
- Integer value- Returns:
- RequestId
-