com.ibm.commerce.contract.commands
Interface ContractSubmitPreApprovalCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- public interface ContractSubmitPreApprovalCmd
- extends ControllerCommand
This command will be called when a contract be submitted to approve (WebSphere
Commerce Business Edition only). It will
validate the specified contract. If the contract is invalid contract, an exception
will be thrown. If it completes successfully, the contract will be set to Pending state.
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.ContractSubmitPreApprovalCmdImpl". |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.contract.commands.ContractSubmitPreApprovalCmd". |
Method Summary |
void |
setContractId(java.lang.Long contractId)
Set the id of the contract. |
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.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, 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.ContractSubmitPreApprovalCmdImpl".
NAME
public static final java.lang.String NAME
- The name of this interface is "com.ibm.commerce.contract.commands.ContractSubmitPreApprovalCmd".
setContractId
public void setContractId(java.lang.Long contractId)
- Set the id of the contract.
- Parameters:
contractId
- java.lang.Long