com.ibm.commerce.contract.commands
Interface ContractUploadCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, UploadToStreamCmd
All Known Implementing Classes:
ContractUploadCmdImpl

public interface ContractUploadCmd
extends UploadToStreamCmd

Uploads the contract XML file by calling the attachment upload command, followed by the ContractImportApprovedVersion command.

Behaviour

Exception Conditions

If accountId, usageType, filename parameters are missing, the command sets the _ERR_MISSING_CMD_PARAMETER exception task to handle the error.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String DEFAULTCOMMANDCLASSNAME
          The default implementation class is "com.ibm.commerce.contract.commands.ContractUploadCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.contract.commands.ContractUploadCmd".
 
Fields inherited from interface com.ibm.commerce.command. UploadToStreamCmd
defaultCommandClassName
 
Methods inherited from interface com.ibm.commerce.command. UploadToStreamCmd
getAttachmentOwner, getAttachmentStream, getFileName, getFileSize, getUrl
 
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
 

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 is "com.ibm.commerce.contract.commands.ContractUploadCmd".
See Also:
Constant Field Values

DEFAULTCOMMANDCLASSNAME

public static final java.lang.String DEFAULTCOMMANDCLASSNAME
The default implementation class is "com.ibm.commerce.contract.commands.ContractUploadCmdImpl".
See Also:
Constant Field Values