public class CatalogEntryReaderMediator extends AbstractCatalogReaderMediator
This is an implementation class which extends from the AbstractCatalogReaderMediator. This implementation will invoke the component services to retrieve the catalog entry records which will be returned to the Data Extractor layer.
Constructor and Description |
---|
CatalogEntryReaderMediator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCurrency()
It returns the currency.
|
protected java.lang.Object | getDataObject(java.lang.String beginIndex, java.lang.String pageSize, java.lang.String storeId)
Retrieves a list of catalog entry logical nouns by invoking a catalog service based on the store id and access profile.
|
protected java.util.List | getDataObjectFromResponse(java.lang.Object response)
The method returns a list of CatalogEntry nouns from the response
|
protected java.lang.String | getRecordSetTotal(java.lang.Object response)
The method returns the record set total returned from the CatalogEntry service
|
void | init()
Initializes the catalog entry reader mediator.
|
void | setCurrency(java.lang.String currency)
Sets the currency.
|
public void init() throws DataLoadException
protected java.lang.Object getDataObject(java.lang.String beginIndex, java.lang.String pageSize, java.lang.String storeId) throws AbstractBusinessObjectDocumentException, DataLoadException
protected java.util.List getDataObjectFromResponse(java.lang.Object response) throws DataLoadException
protected java.lang.String getRecordSetTotal(java.lang.Object response) throws DataLoadException
public java.lang.String getCurrency()
public void setCurrency(java.lang.String currency)