com.ibm.commerce.tools.ecoupon

Interface UpdateECouponPromotionTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    UpdateECouponPromotionTaskCmdImpl

    Deprecated. 
    The WC54 coupon feature will be replaced by the WC56 promotion engine coupon feature.

    public interface UpdateECouponPromotionTaskCmd
    extends TaskCommand
    Defines a task command interface for updating coupon promotion. Invoked by the ECouponPromotionUpdateCmdImpl.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Deprecated. 
        IBM Copyright notice field
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        Deprecated. 
        Name of the comamnd.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Deprecated. 
        Name of the default implementation of the interface
        See Also:
        Constant Field Values
    • Method Detail

      • getError

        java.lang.String getError()
        Deprecated. 
        Gets the error. This is returned in the response properties to the user.
        Returns:
        java.lang.String
      • getErrorMessage

        ECMessage getErrorMessage()
        Deprecated. 
        Gets the error message. This is returned in the response properties to the user.
        Returns:
        com.ibm.commerce.ras.ECMessage
      • getErrorMessageString

        java.lang.String getErrorMessageString()
        Deprecated. 
        Gets the error message string. This is returned in the response properties to the user.
        Returns:
        java.lang.String
      • setCommandContext

        void setCommandContext(CommandContext aCommandContext)
        Deprecated. 
        Sets the command context.
        Specified by:
        setCommandContext in interface ECCommand
        Parameters:
        aCommandContext - CommandContext
      • setLanguageId

        void setLanguageId(java.lang.Integer newLanguageId)
        Deprecated. 
        Sets the language ID selected by the user in this session.
        Parameters:
        newLanguageId - java.lang.Integer
      • setLocale

        void setLocale(java.util.Locale newLocale)
        Deprecated. 
        Sets the locale selected by the user in this session.
        Parameters:
        newLocale - com.ibm.NamingStringSyntax.StandardSyntaxModelPackage.Locale
      • setPromoId

        void setPromoId(java.lang.Integer newPromoId)
        Deprecated. 
        Sets the coupon promotion ID for which the updation is to be done.
        Parameters:
        newPromoId - java.lang.Integer
      • setStoreId

        void setStoreId(java.lang.Integer newStoreId)
        Deprecated. 
        Sets the store ID to which the coupon promotion belongs.
        Parameters:
        newStoreId - java.lang.Integer
      • setXml

        void setXml(java.util.Hashtable newXml)
        Deprecated. 
        Set the XML. This contains the name value pairs of the various coupon promotion parameters.
        Parameters:
        newXmlFile - java.lang.String