public interface HandleApprovalsCmd extends ToolsControllerCommand
Behaviour This command will raise a business flow event to handle each approval or rejection. The business flow event will handle the updating of the APRVSTATUS table as well as any other activities which have been defined for this transition. The status of the approval requests record in the APRVSTATUS table will be updated to 1 for approved or 2 for rejected.
The command treats each approval or rejection as a separate transaction. It is possible that if command is invoked to process a batch of approvals or rejections, some may succeed and others may fail.
The command will set the resultMsg for the view it sets to indicate the success or failure of the processing. The value of resultMsg will be the appropriate key into the ubfapprovalsNLS properties file for the message to be displayed by the JSP.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | defaultCommandClassName
The default implementation class is "com.ibm.commerce.approval.commands.HandleApprovalsCmdImpl"
|
static java.lang.String | NAME
The name of this interface is "com.ibm.commerce.approval.commands.HandleApprovalsCmd".
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | getAprvAct()
Gets the action.
|
java.lang.String | getAprvIds()
Gets the list of approval status IDs to be acted on.
|
java.lang.String | getComments()
Gets the comments.
|
java.lang.String | getViewTask()
Gets the view task name.
|
void | setAprvAct(java.lang.Integer newAprvAct)
Sets the action.
|
void | setAprvIds(java.lang.String newAprvIds)
Sets the list of approval status IDs to be acted on.
|
void | setComments(java.lang.String newComments)
Sets the comments.
|
void | setViewTask(java.lang.String newViewTask)
Sets the view task name.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
java.lang.Integer getAprvAct()
java.lang.String getAprvIds()
java.lang.String getComments()
java.lang.String getViewTask()
void setAprvAct(java.lang.Integer newAprvAct)
void setAprvIds(java.lang.String newAprvIds)
void setComments(java.lang.String newComments)
void setViewTask(java.lang.String newViewTask)