public class ContractResumeCmdImpl extends ControllerCommandImpl implements ContractResumeCmd
ContractId | The id of the specified contract. Mandatory. |
RequestProperties | The request properties.Possible include: accountId, redirecturl. Optional. |
Closes the specified contract. If there is a store created by this contract. For Distributor store, the status of the store will be set to "Open". For Hosting store, the status of the store will be set to "Close". The state of the store relationship if it has will be set to "Active".
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of the default implementation.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ContractResumeCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getContractId()
Gets the id of the resumed contract.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setContractId(java.lang.Long contractId)
Sets id of the contract to be resumed.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
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 AccessVector getResources() throws ECException
public void performExecute() throws ECException
public void setContractId(java.lang.Long contractId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void validateParameters() throws ECException