com.ibm.commerce.contract.commands
Interface CloseContractCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- CloseContractCmdImpl
- public interface CloseContractCmd
- extends TaskCommand
Close contracts (WebSphere Commerce Business Edition only).
Normally this command will close all the contracts which in active, approved,
or suspended state with the same contract as the deploying contract. If an
error occurred, an ECException will be thrown.
Calling commands: DeployContractCmd
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.CloseContractCmdImpl". |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.contract.commands.CloseContractCmd". |
Method Summary |
void |
setContractId(java.lang.Long contractId)
Set the contract id parameter |
void |
setStoreId(java.lang.Integer storeId)
Set store id parameter |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class is "com.ibm.commerce.contract.commands.CloseContractCmdImpl".
NAME
public static final java.lang.String NAME
- The name of this interface is "com.ibm.commerce.contract.commands.CloseContractCmd".
setContractId
public void setContractId(java.lang.Long contractId)
- Set the contract id parameter
- Parameters:
contractId
- java.lang.Long
setStoreId
public void setStoreId(java.lang.Integer storeId)
- Set store id parameter
- Parameters:
storeId
- java.lang.Integer