public class CatalogFilterMediator
extends com.ibm.commerce.catalogfilter.dataload.mediator.AbstractCatalogFilterMediator
Constructor and Description |
---|
CatalogFilterMediator() |
Modifier and Type | Method and Description |
---|---|
protected void | deleteProductSet()
Delete the productset while the record in catfilter is deleted
|
protected com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType | getCatalogFilter()
This method returns the catalog filter object.
|
protected java.lang.String | getDescription()
This method returns the catalog filter description.
|
protected java.lang.String | getDescriptionLanguageID()
This method returns the language id for the catalog filter description.
|
protected int | getUsage()
This method returns the catalog filter usage.
|
protected int | mapUsage(java.lang.String usage)
This method maps the usage in the noun to the internal usage in the database.
|
protected TableDataObject | populateCATFILTER(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catalogFilterNoun)
This method populates the physical object of CATFILTER table from the catalog filter logical object.
|
protected TableDataObject | populateCATFILTERDSC(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catalogFilterNoun)
This method populates the physical object of CATFLTDSC table from the catalog filter logical object.
|
protected TableDataObject | populatePRODUCTSET(java.lang.Long productSetId)
This method populates the physical object of populatePRODUCTSET table from the catalog filter logical object.
|
protected void | processCatalogFilter(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catlogFilter)
This method resolves the parameters used by catalog filter data load.
|
protected void | processCatalogFilterDescriptionType(DescriptionType descriptionType)
This method resolves the parameters used by catalog filter description data load.
|
protected void | setCatalogFilter(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catlogFilter)
This method sets the catalog filter object.
|
protected void | setDescription(java.lang.String description)
This method sets the catalog filter description.
|
protected void | setDescriptionLanguageID(java.lang.String languageId)
This method sets the language id for the catalog filter description.
|
protected void | setUsage(int usage)
This method sets the catalog filter usage.
|
protected void | transform(java.lang.Object catlogFilterNoun, boolean deleteFlag)
This method transforms the logical catalog filter noun to physical objects of tables: CATFILTER, CATFLTDSC.
|
protected void transform(java.lang.Object catlogFilterNoun, boolean deleteFlag) throws DataLoadException
protected void processCatalogFilter(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catlogFilter) throws DataLoadException
protected void processCatalogFilterDescriptionType(DescriptionType descriptionType) throws DataLoadException
protected TableDataObject populateCATFILTER(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catalogFilterNoun) throws DataLoadException
protected TableDataObject populatePRODUCTSET(java.lang.Long productSetId) throws DataLoadException
protected TableDataObject populateCATFILTERDSC(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catalogFilterNoun) throws DataLoadException
protected void deleteProductSet() throws DataLoadException
protected int mapUsage(java.lang.String usage)
protected void setCatalogFilter(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType catlogFilter)
protected com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType getCatalogFilter()
protected void setDescriptionLanguageID(java.lang.String languageId)
protected java.lang.String getDescriptionLanguageID()
protected void setDescription(java.lang.String description)
protected java.lang.String getDescription()
protected void setUsage(int usage)
protected int getUsage()