com.ibm.commerce.contract.commands

Interface CheckContractHasPriceRuleTCCmd

  • 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:
    CheckContractHasPriceRuleTCCmdImpl, DummyCheckContractHasPriceRuleTCCmdImpl


    public interface CheckContractHasPriceRuleTCCmd
    extends com.ibm.commerce.command.TaskCommand
    The interface is used to check whether the contact has PriceRule term and condition.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM copyright notice field.
      static java.lang.String defaultCommandClassName
      The default implementation class.
      static java.lang.String NAME
      The name of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean hasPriceRuleTC()
      Whether the contract has PriceRule term and condition.
      void setContractId(java.lang.String contractId)
      Sets the contract id.
      • 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 IBM copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface.
    • Method Detail

      • hasPriceRuleTC

        boolean hasPriceRuleTC()
                        throws com.ibm.commerce.exception.ECException
        Whether the contract has PriceRule term and condition.
        Returns:
        true if the contract has PriceRule term and condition. otherwise false.
        Throws:
        com.ibm.commerce.exception.ECException
      • setContractId

        void setContractId(java.lang.String contractId)
        Sets the contract id.
        Parameters:
        contractId - Can not be null. If you pass the null, the behavior is undefined.