public class ApprovalSetUpRecordsCmdImpl extends TaskCommandImpl implements ApprovalSetUpRecordsCmd
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.
This command calls the following TaskCommands:,
This command uses the following Access Beans:, OrganizationAccessBean, MemberGroupAccessBean, UserAccessBean,
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | approverGroupName
Approval group name.
|
protected java.lang.Long | approverOrgId
Approver Organization id.
|
protected java.lang.Long | businessEntityId
Entity id.
|
protected java.lang.Long | businessFlowId
Flow id.
|
protected java.lang.Long | businessFlowStateId
Flow state id.
|
protected java.lang.Long | businessFlowTypeId
Flow type id.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected java.lang.String | eventIdentifier
Event identifier.
|
protected java.lang.Long | userIdFromApproverOrg
User id from approver organization.
|
Constructor and Description |
---|
ApprovalSetUpRecordsCmdImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getEventIdentifier()
Gets the event identifier.
|
boolean | isApprovalNeeded()
Specifies whether or not approval is needed.
|
boolean | isReadyToCallExecute()
Check if the command is ready to be executed.
|
void | performExecute()
The main logic.
|
void | setApproverGroupName(java.lang.String newApproverGroupName)
Sets the approver group name from which the approvers are to be derived.
|
void | setApproverOrgId(java.lang.Long newApproverOrgId)
Sets the ID of the organization that needs to do the approval.
|
void | setBusinessEntityId(java.lang.Long newBusinessEntityId)
The ID of the object being acted on.
|
void | setBusinessFlowId(java.lang.Long newBusinessFlowId)
Sets the flow being used for this approval process.
|
void | setBusinessFlowStateId(java.lang.Long newBusinessFlowStateId)
Sets the state of the business flow for this approvable action.
|
void | setBusinessFlowTypeId(java.lang.Long newBusinessFlowTypeId)
Sets the ID of the type of business flow for the approvable action.
|
void | setUserIdFromApproverOrg(java.lang.Long newUserIdFromApproverOrg)
Sets the ID of a user from the organization that needs to do the approval.
|
public static final java.lang.String COPYRIGHT
protected java.lang.String eventIdentifier
protected java.lang.String approverGroupName
protected java.lang.Long approverOrgId
protected java.lang.Long userIdFromApproverOrg
protected java.lang.Long businessFlowTypeId
protected java.lang.Long businessFlowId
protected java.lang.Long businessEntityId
protected java.lang.Long businessFlowStateId
public ApprovalSetUpRecordsCmdImpl()
public java.lang.String getEventIdentifier()
public boolean isApprovalNeeded()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setApproverGroupName(java.lang.String newApproverGroupName)
public void setApproverOrgId(java.lang.Long newApproverOrgId)
public void setBusinessEntityId(java.lang.Long newBusinessEntityId)
public void setBusinessFlowId(java.lang.Long newBusinessFlowId)
public void setBusinessFlowStateId(java.lang.Long newBusinessFlowStateId)
public void setBusinessFlowTypeId(java.lang.Long newBusinessFlowTypeId)
public void setUserIdFromApproverOrg(java.lang.Long newUserIdFromApproverOrg)