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
IBM copyright notice field.
static java.lang.String defaultCommandClassName
The name of the default implementation class.
static java.lang.String NAME
The name of this interface.
Method Summary
void setContractId(java.lang.Long contractId)
Sets the ID of the contract.
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, 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, getResourceOwners, setAccCheck, setForUserId, setOwner
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

COPYRIGHT

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 name of the default implementation class.
See Also:
Constant Field Values
Method Detail

setContractId

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

Feedback