public class ContractSubmitPostApprovalCmdImpl extends BusinessFlowCmdImpl implements ContractSubmitPostApprovalCmd
ContractSubmitPostApprovalCmd
controller command.
Name | Description |
---|---|
ContractId |
The ID of the contract. Mandatory. |
StateIdentifier |
The state identifier. Optional. |
RequestProperties |
The request properties.Possible values include: redirecturl, entityId, storeId, synchronousDeployment. Mandatory. |
Name | Description |
---|---|
ContractId |
The ID of the contract. |
entityId |
The entity ID.It is the same as the contract ID. |
EntityObject |
The business flow entity bean. It is the ContractFlowEntityBean. |
TradingAgreementAccessBean
ContractFlowEntityBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this command.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
SYNCHRONOUS_DEPLOYMENT
The synchronous deployment parameter.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ContractSubmitPostApprovalCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getContractId()
Returns the ID of the contract.
|
java.lang.Long |
getEntityId()
Returns the entity ID.
|
BusinessFlowEntityBean |
getEntityObject()
Returns business flow entity bean.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
setContractId(java.lang.Long newContractId)
Sets the ID of the contract.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
void |
setStateIdentifier(java.lang.Integer stateIdentifier)
Sets the state identifier.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFlowContext, getStateIdentifier, isReadyToCallExecute, reset, setEntityId, setEntityObject, setFlowContext
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public static final java.lang.String SYNCHRONOUS_DEPLOYMENT
public java.lang.Long getContractId()
public java.lang.Long getEntityId()
getEntityId
in interface BusinessFlowCmd
getEntityId
in class BusinessFlowCmdImpl
public BusinessFlowEntityBean getEntityObject()
getEntityObject
in interface BusinessFlowCmd
getEntityObject
in class BusinessFlowCmdImpl
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- Raised with message _ERR_CONTRACT_CMD_EXEC if an error occurred when the command trys to deploy the contract.AbstractECTargetableCommand.performExecute()
public void setContractId(java.lang.Long newContractId)
setContractId
in interface ContractSubmitPostApprovalCmd
newContractId
- the contract IDpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperties) throws com.ibm.commerce.exception.ECApplicationException
setRequestProperties
in interface com.ibm.commerce.command.ControllerCommand
setRequestProperties
in class com.ibm.commerce.command.ControllerCommandImpl
aRequestProperties
- An TypedProperty object contains the input parameters.
For this default implementation, entityId is the required parameter.
optional parameter is storeId.com.ibm.commerce.exception.ECApplicationException
- Raised with message _ERR_MISSING_CMD_PARAMETER if one of the three required parameters are missing.
Raised with message _ERR_NUMBER_FORMAT_EXCEPTION if the provided entityId, storeId cannot
be converted to Long, Integer object.ControllerCommandImpl.setRequestProperties(TypedProperty)
public void setStateIdentifier(java.lang.Integer stateIdentifier)
setStateIdentifier
in interface BusinessFlowCmd
setStateIdentifier
in class BusinessFlowCmdImpl
stateIdentifier
- the state identifier