com.ibm.commerce.price.commands
Class RetrievePricesCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.command.BusinessPolicyCommandImpl
                          |
                          +--com.ibm.commerce.price.commands.RetrievePricesCmdImpl
All Implemented Interfaces:
BusinessPolicyCommand, ECCommand, ECTargetableCommand, RetrievePricesCmd, TaskCommand
Direct Known Subclasses:
MarketplaceRetrievePricesCmdImpl

public class RetrievePricesCmdImpl
extends BusinessPolicyCommandImpl
implements RetrievePricesCmd

This RetrievePricesCmd Task Command Implementation retrieves all the qualified offers for one or more catalog entries from the price lists which are referenced by the entitled contracts.

If the command is successful in retreiving offers, it will return a list of qualified offers that can provide the offer prices.

If unsuccessful, it wil return an empty list.

Behaviour

Obtain all the qualified offers for each catalog entries, each offer to be retrieved to find the price of a catalog entry must satisfy certain criteria.

If no valid offer can be found, the parent product offers will be searched providing the catalog entry and the parent product is not excluded from the trading agreements.

This command calls the following TaskCommands:

This command uses the following AccessBeans: