public class CloseContractCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CloseContractCmd
CloseContractCmd task command.
DeployContractCmd
TradingAgreementAccessBean
ContractAccessBean
StoreContractAccessBean
StoreAccessBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The full name of this command.
|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
CloseContractCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getContractId()
Gets the ID of the deploying contract.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
setContractId(java.lang.Long contractId)
Sets the ID of the deploying contract.
|
void |
setStoreId(java.lang.Integer storeId)
Sets the ID of the store to which the contract is deployed.
|
void |
validateParameters()
Extracts and validates the input parameters of this command implementation.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public java.lang.Long getContractId()
public void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECExceptionAbstractECTargetableCommand.performExecute()public void setContractId(java.lang.Long contractId)
setContractId in interface CloseContractCmdcontractId - the ID of the deploying contractpublic void setStoreId(java.lang.Integer storeId)
setStoreId in interface CloseContractCmdstoreId - the ID of the storepublic void validateParameters()
throws com.ibm.commerce.exception.ECException
validateParameters in interface com.ibm.commerce.command.ECCommandvalidateParameters in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECExceptionAbstractECTargetableCommand.validateParameters()