com.ibm.commerce.contract.commands
Interface CloseContractCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CloseContractCmdImpl

public interface CloseContractCmd
extends TaskCommand

Closes contracts (WebSphere Commerce Business Edition only). Normally this command will close all the contracts which in active, approved, or suspended state within the same family as the deploying contract. If an error occurred, an ECException will be thrown. Calling commands: DeployContractCmd


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation class name of this interface.
static java.lang.String NAME
          The name of this interface
 
Method Summary
 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.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name of this interface.
See Also:
Constant Field Values
Method Detail

setContractId

public void setContractId(java.lang.Long contractId)
Sets the ID of the deploying contract.
Parameters:
contractId - the ID of the deploying contract

setStoreId

public void setStoreId(java.lang.Integer storeId)
Sets the ID of the store to which the contract is deployed.
Parameters:
storeId - the ID of the store