Set up for an action needing approval.
Before executing this task command, the following sets should be performed:
After executing this task command, the following should be called:
Behaviour
This command will create one APRVSTATUS record for each potential approver of the action.
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 | |
java.lang.String | getEventIdentifier() Gets the event identifier. |
boolean | isApprovalNeeded() Specifies whether the approval is needed. |
void | setApproverGroupName(java.lang.String approverGroupName) Sets the approver group name from which the approvers are to be derived |
void | setApproverOrgId(java.lang.Long approverOrgId) Sets the ID of the organization that needs to do the approval |
void | setBusinessEntityId(java.lang.Long businessEntityId) The ID of the object being acted on. |
void | setBusinessFlowId(java.lang.Long businessFlowId) Sets the flow being used for this approval process. |
void | setBusinessFlowStateId(java.lang.Long businessFlowStateId) Sets the state of the business flow for this approvable action. |
void | setBusinessFlowTypeId(java.lang.Long businessFlowTypeId) Sets the ID of the type of business flow for the approvable action. |
void | setUserIdFromApproverOrg(java.lang.Long userIdFromApproverOrg) Sets the ID of a user from the organization that needs to do 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 java.lang.String getEventIdentifier()
public boolean isApprovalNeeded()
public void setApproverGroupName(java.lang.String approverGroupName)
public void setApproverOrgId(java.lang.Long approverOrgId)
public void setBusinessEntityId(java.lang.Long businessEntityId)
public void setBusinessFlowId(java.lang.Long businessFlowId)
public void setBusinessFlowStateId(java.lang.Long businessFlowStateId)
public void setBusinessFlowTypeId(java.lang.Long businessFlowTypeId)
public void setUserIdFromApproverOrg(java.lang.Long userIdFromApproverOrg)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.