public class PriceListMediator extends AbstractPriceBaseMediator
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 main operations include:
markPriceListForDelete
populatePriceList
The unique indexes to determine a Price List
contains:
Price List Name
+ Owner Id
(It's
MemberID
in database tables)PriceList ID
Owner ID
is retrieved from the business
context if no Owner ID
is specified in the logical data
object.
This mediator populates the TRADEPOSCN
table.
Constructor and Description |
---|
PriceListMediator() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Performs initialization for the price list mediator.
|
getContextCurrency, getContextLanguageID, getContextOwnerID, getContextStoreID, getPriceEntry, getPriceList, setPriceEntry, setPriceList
close, execute, getConfigProperties, getEndKey, getStartKey, initConfig, postProcess, preProcess, setConfigProperties
public void init() throws DataLoadException
Initialization includes:
Set mark for delete
. It determines whether mark for delete
is enabled for this mediator.
init
in interface BusinessObjectMediator
init
in class AbstractPriceBaseMediator
DataLoadException
- If failed to performs initialization for the price mediator.AbstractPriceBaseMediator.init()