com.ibm.commerce.contract.commands

Interface DeployContractCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.TaskCommand
    All Known Implementing Classes:
    DeployContractCmdImpl


    public interface DeployContractCmd
    extends com.ibm.commerce.command.TaskCommand
    This contract task command is used to deploy a contract to the specified store (WebSphere Commerce Enterprise only). The default implementation of this command is DeployContractCmdImpl. The DeployContract URL is mapped to this command by default.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
      static java.lang.String defaultCommandClassName
      The default implementation class is "com.ibm.commerce.contract.commands.DeployContractCmdImpl".
      static java.lang.String NAME
      The name of this interface is "com.ibm.commerce.contract.commands.DeployContractCmd".
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty requestProperties)
      Sets the requestProperties
      void setSynchronousDeployment(boolean synchronousDeploymentFlag)
      Sets the synchronousDeployment flag to indicate contract should be deployed synchronously.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

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

      • setRequestProperties

        void setRequestProperties(com.ibm.commerce.datatype.TypedProperty requestProperties)
                           throws com.ibm.commerce.exception.ECException
        Sets the requestProperties
        Parameters:
        requestProperties - request properties
        Throws:
        Raised - whenever an error is occured
        com.ibm.commerce.exception.ECException
      • setSynchronousDeployment

        void setSynchronousDeployment(boolean synchronousDeploymentFlag)
        Sets the synchronousDeployment flag to indicate contract should be deployed synchronously.
        Parameters:
        synchronousDeploymentFlag - true for synchronous deployment, false for asynchronous deployment