Delegates to the ApprovalSetUpRecordsCmd to set up for an action needing approval.
Before executing this task command, the following sets should be performed:
After executing this task command, the following should be called:
Behaviour
This command will set up for and call the ApprovalSetUpRecordsCmd.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation class. |
static java.lang.String |
NAME The name of the Command Interface class. |
Method Summary | |
---|---|
java.lang.String |
getEventIdentifier() Gets the event that needs to be processed when an automatic approval is required. |
boolean |
isApprovalNeeded() Specifies whether or not an approval is needed. |
void |
setApproverGroupName(java.lang.String approverGroupName) Sets the approver group name from which the approvers are to be derived. |
void |
setBusinessFlowEventData(BusinessFlowEventData businessFlowEventData) Sets the data related to the business flow event. |
void |
setBusinessFlowStateId(java.lang.Long businessFlowStateId)
Sets the state of the business flow for this approvable
action. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.String getEventIdentifier()
public boolean isApprovalNeeded()
public void setApproverGroupName(java.lang.String approverGroupName)
approverGroupName
- The approval member group name from which
the approvers are chosenpublic void setBusinessFlowEventData(BusinessFlowEventData businessFlowEventData)
businessFlowEventData
- The data included as part of the
eventpublic void setBusinessFlowStateId(java.lang.Long businessFlowStateId)
businessFlowStateId
- the state of the business flow for this
approvable action