public class ContractSubmitPreApprovalCmdImpl extends com.ibm.commerce.ubf.commands.BusinessFlowCmdImpl implements ContractSubmitPostApprovalCmd
Name | Description |
---|---|
ContractId | The ID of the contract. Mandatory. |
StateIdentifier | The state identifier. Optional. |
RequestProperties | The request properties.Possible values include: redirecturl, storeId. 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. |
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.
|
Constructor and Description |
---|
ContractSubmitPreApprovalCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getContractId()
Returns the ID of the contract.
|
java.lang.Long | getEntityId()
Returns the entity ID.
|
com.ibm.commerce.ubf.beans.BusinessFlowEntityBean | getEntityObject()
Returns business flow entity bean.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setContractId(java.lang.Long contractId)
Sets the ID of the contract.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
void | setStateIdentifier(java.lang.Integer stateIndentifier)
Sets the state identifier.
|
void | validateParameters()
Validates the contract to check if it is in right state for this process.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getContractId()
public java.lang.Long getEntityId()
public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
public void performExecute() throws ECException
public void setContractId(java.lang.Long contractId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setStateIdentifier(java.lang.Integer stateIndentifier)
public void validateParameters() throws ECException