Delegates to ApprovalProcessRecordsCmd to process an approval action. Processes an approval action with respect to the approval records. Approval actions include the approver approving or rejecting or the submitter canceling. The approver may supply an optional comment which will be stored in the approval request's record in the APRVSTATUS table.
Before executing this task command the following sets should be performed:
Behaviour
This command will set up for and call ApprovalProcessRecordsCmd.
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 | |
---|---|
void |
setAction(java.lang.Integer action) Sets the list of approval status IDs to be acted on. |
void |
setBusinessFlowEventData(BusinessFlowEventData businessFlowEventData)
Sets the data structure used to process the
approval. |
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 void setAction(java.lang.Integer action)
action
- The type of approval action beign taken: approve,
reject, or cancel (represented by integers)public void setBusinessFlowEventData(BusinessFlowEventData businessFlowEventData)
businessFlowEventData
- The data for the event representing
the approval action.