com.ibm.commerce.contract.commands

Interface ContractUploadCmd

  • All Superinterfaces:
    com.ibm.commerce.command.AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ControllerCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.security.Protectable, com.ibm.commerce.command.UploadToStreamCmd
    All Known Implementing Classes:
    ContractUploadCmdImpl


    public interface ContractUploadCmd
    extends com.ibm.commerce.command.UploadToStreamCmd
    This contract controller command is used to upload the contract XML file by calling the attachment upload command, followed by the ContractImportApprovedVersion command. If accountId, usageType, filename parameters are missing, the command sets the _ERR_MISSING_CMD_PARAMETER exception task to handle the error. The default implementation of this command is ContractUploadCmdImpl. The ContractUpload URL is mapped to this command by default.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      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
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 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, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.security.Protectable

        fulfills, getOwner
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • DEFAULTCOMMANDCLASSNAME

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

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.contract.commands.ContractUploadCmd".
        See Also:
        Constant Field Values