com.ibm.commerce.contract.commands
Interface ContractSuspendCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
ContractSuspendCmdImpl

public interface ContractSuspendCmd
extends ControllerCommand

Suspend an active contract and refresh the contract cache (WebSphere Commerce Business Edition only).


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.ContractSuspendCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.contract.commands.ContractSuspendCmd".
 
Method Summary
 void setContractId(java.lang.Long contractId)
          Set id of the contract to suspend
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

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.ContractSuspendCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.contract.commands.ContractSuspendCmd".
Method Detail

setContractId

public void setContractId(java.lang.Long contractId)
Set id of the contract to suspend
Parameters:
newContractId - java.lang.Long