public interface ApprovalProcessRecordsCmd extends TaskCommand
Before executing this task command the following sets should be performed:
Behaviour
This command loop through the records in the APRVSTATUS table for the given entity. Records that are for the given entity, but whose approver ID does not match the actor, get deleted. If there is a record whose approver ID matches the actor for the given entity, the status and action timestamp are updated.
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void | setAction(java.lang.Integer action)
Sets the action being performed: approve, reject, or cancel.
|
void | setActorId(java.lang.Long actorId)
Sets the user performing the action.
|
void | setBusinessEntityId(java.lang.Long businessEntityId)
Sets the ID of the business entity object being acted on.
|
void | setBusinessFlowId(java.lang.Long businessFlowId)
Sets the flow being used for this approval process.
|
void | setComment(java.lang.String comment)
Sets a comment that the actor wants included with the action.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setAction(java.lang.Integer action)
void setActorId(java.lang.Long actorId)
void setBusinessEntityId(java.lang.Long businessEntityId)
void setBusinessFlowId(java.lang.Long businessFlowId)
void setComment(java.lang.String comment)