com.ibm.commerce.contract.commands

Interface DeployTCCmd

  • 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 Subinterfaces:
    DeployExtendedTCCmd, DeployPriceTCCmd
    All Known Implementing Classes:
    DeployExtendedTCCmdImpl, DeployPriceTCCmdImpl, DeployTCCmdImpl


    public interface DeployTCCmd
    extends com.ibm.commerce.command.TaskCommand
    This contract task command is used to define the signature of all commands that deploy Terms and Conditions (WebSphere Commerce Enterprise only). The default implementation of this command is DeployTCCmdImpl. The DeployTC 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 name
      static java.lang.String NAME
      The name of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Integer getTargetStoreId()
      Gets the contract deployment target store ID.
      void setTargetStoreId(java.lang.Integer storeId)
      Sets the contract deployment target store ID.
      void setTermCondition(com.ibm.commerce.contract.objects.TermConditionAccessBean abTC)
      Sets the TermCondtionAccessBean to deploy.
      • 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 name
        See Also:
        Constant Field Values
    • Method Detail

      • getTargetStoreId

        java.lang.Integer getTargetStoreId()
        Gets the contract deployment target store ID.
        Returns:
        target store ID
      • setTargetStoreId

        void setTargetStoreId(java.lang.Integer storeId)
        Sets the contract deployment target store ID.
        Parameters:
        storeId - target store ID
      • setTermCondition

        void setTermCondition(com.ibm.commerce.contract.objects.TermConditionAccessBean abTC)
        Sets the TermCondtionAccessBean to deploy.
        Parameters:
        abTC - the TermCondtionAccessBean to be deployed