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, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public 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.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
AbstractECTargetableCommand.performExecute()
public void setContractId(java.lang.Long contractId)
setContractId
in interface CloseContractCmd
contractId
- the ID of the deploying contractpublic void setStoreId(java.lang.Integer storeId)
setStoreId
in interface CloseContractCmd
storeId
- the ID of the storepublic void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
AbstractECTargetableCommand.validateParameters()