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)
approverGroupName
- The approval member group name from which
the approvers are chosenpublic void setApproverOrgId(java.lang.Long approverOrgId)
approverOrgId
- The organization which may need to
approvepublic void setBusinessEntityId(java.lang.Long businessEntityId)
businessEntityId
- The entity on which the approval is being
requestedpublic void setBusinessFlowId(java.lang.Long businessFlowId)
businessFlowId
- The flow being used for this
approvalpublic void setBusinessFlowStateId(java.lang.Long businessFlowStateId)
businessFlowStateId
- the state of the business flow for this
approvable actionpublic void setBusinessFlowTypeId(java.lang.Long businessFlowTypeId)
businessFlowTypeId
- The type of flow for this
approvalpublic void setUserIdFromApproverOrg(java.lang.Long userIdFromApproverOrg)