Checks whether a user is an approver for a particular submission.
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 (flowtype and BusinessEntityId).
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 | |
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. |
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 boolean isApprover()
public void setApproverId(java.lang.Long approverId)
public void setBusinessEntityId(java.lang.Long businessEntityId)
public void setBusinessFlowTypeIdentifier(java.lang.String businessFlowTypeIdentifier)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.