public interface ApprovalSetUpRecordsCmd
extends com.ibm.commerce.command.TaskCommand
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.
| 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 |
|---|---|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersstatic final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
java.lang.String getEventIdentifier()
boolean isApprovalNeeded()
void setApproverGroupName(java.lang.String approverGroupName)
approverGroupName - The approval member group name from which the
approvers are chosenvoid setApproverOrgId(java.lang.Long approverOrgId)
approverOrgId - The organization which may need to approvevoid setBusinessEntityId(java.lang.Long businessEntityId)
businessEntityId - The entity on which the approval is being requestedvoid setBusinessFlowId(java.lang.Long businessFlowId)
businessFlowId - The flow being used for this approvalvoid setBusinessFlowStateId(java.lang.Long businessFlowStateId)
businessFlowStateId - the state of the business flow for this
approvable actionvoid setBusinessFlowTypeId(java.lang.Long businessFlowTypeId)
businessFlowTypeId - The type of flow for this approvalvoid setUserIdFromApproverOrg(java.lang.Long userIdFromApproverOrg)
userIdApproverOrg - A user id from organization which may need to approve