public interface ApprovalCheckApproverForEntityCmd extends TaskCommand
Before executing this task command, the following sets should be performed:
Upon completion of the command, the following should be called to retrieve boolean result
Behaviour
This command will check if there is an approval record for the given approver ID and entity (flow type and BusinessEntityId).
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 |
---|---|
boolean | isApprover()
Returns whether or not the user is an approver.
|
void | setApproverId(java.lang.Long approverId)
Sets the user ID to check for approver status of the entity.
|
void | setBusinessEntityId(java.lang.Long businessEntityId)
Sets the ID of the business entity object for which the approval is being requested.
|
void | setBusinessFlowTypeIdentifier(java.lang.String businessFlowTypeIdentifier)
Sets the identifier of the type of business flow for the approvable action.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
boolean isApprover()
void setApproverId(java.lang.Long approverId)
void setBusinessEntityId(java.lang.Long businessEntityId)
void setBusinessFlowTypeIdentifier(java.lang.String businessFlowTypeIdentifier)