com.ibm.commerce.tools.catalog.commands

Class ProductPricingCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ECConstants, ProductPricingCmd, ECToolsConstants, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ProductPricingCmdImpl
    extends TaskCommandImpl
    implements ProductPricingCmd, ECToolsConstants, ECConstants
    Task command implementation used to persist a product pricing as offers in the database offer and offer price tables.

    Behavior

    A pricing data bean is passed to this command and is then used to persist its information by calling execute() on the command.

    See Also:
    Serialized Form
    • Constructor Detail

      • ProductPricingCmdImpl

        public ProductPricingCmdImpl()
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Description copied from class: AbstractECTargetableCommand
        This method is called by the targetable command framework. This is where client side parameter checking is performed (before the execution of the command). The default implementation is to return true.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        This method returns a boolean value; true if we can execute the command and false otherwise. This default implementation will return true.
      • setPricingDataBean

        public void setPricingDataBean(com.ibm.commerce.tools.catalog.beans.PricingDataBean pricingDataBean)
        Used to set the pricing data bean which is to be persisted.
        Specified by:
        setPricingDataBean in interface ProductPricingCmd
        Parameters:
        pricing - The pricing data bean which is to be persisted.