public class DefaultOfferMediator extends OfferMediator
Default offers are offers for the store's default price list.
This mediator is used to create and populate a list of physical table data objects, which are all instances of TableDataObject, from a price list logical noun. See transform(Object, boolean) for more details.
The operations that this mediator performs include:
Constructor and Description |
---|
DefaultOfferMediator() |
Modifier and Type | Method and Description |
---|---|
protected boolean | isPriceSpecified(com.ibm.commerce.price.facade.datatypes.PriceListType priceListNoun)
Checks whether the price is specified, by resolving the priceListNoun.
|
protected void | transform(java.lang.Object noun, boolean deleteFlag)
Transforms the given price list logical noun to a list of physical data objects.
|
protected void transform(java.lang.Object noun, boolean deleteFlag) throws DataLoadException
The transformed data object is created and transferred externally using AbstractBusinessObjectMediator.createBaseTableDataObjectWithUniqueIndex(String, Map).
If deleteFlag is true, this method returns immediately.
The next step depends on the dataLoadMode:
protected boolean isPriceSpecified(com.ibm.commerce.price.facade.datatypes.PriceListType priceListNoun)