public interface ContractCopyCmd
extends com.ibm.commerce.command.ControllerCommand
ContractCopyCmdImpl
.
The ContractCopy
URL is mapped to this command by default.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
void |
setAccountId(java.lang.Long accountId)
Sets the ID of the account to which to copy the contract.
|
void |
setContractId(java.lang.Long contractId)
Sets the ID of the contract to be copied from.
|
void |
setNewContractName(java.lang.String name)
Sets the name of the new contract.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
void setAccountId(java.lang.Long accountId)
accountId
- the ID of the accountvoid setContractId(java.lang.Long contractId)
contractId
- the ID of the contract to be copied fromvoid setNewContractName(java.lang.String name)
name
- the name of the new contract