Class ProductPricingCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, ECConstants, ProductPricingCmd, ECToolsConstants,,,,,,

    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.


    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
        isReadyToCallExecute in class AbstractECTargetableCommand
        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( pricingDataBean)
        Used to set the pricing data bean which is to be persisted.
        Specified by:
        setPricingDataBean in interface ProductPricingCmd
        pricing - The pricing data bean which is to be persisted.