public class ContractSubmitPostCancelCmdImpl extends com.ibm.commerce.ubf.commands.BusinessFlowCmdImpl implements ContractSubmitPostCancelCmd
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 |
---|
ContractSubmitPostCancelCmdImpl() |
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()
This method puts the contract into Draft state.
|
void | setContractId(java.lang.Long newContractId)
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.
|
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 newContractId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setStateIdentifier(java.lang.Integer stateIndentifier)