public class CatalogFilterCategorySelectionMediator extends CatalogFilterMediator
Constructor and Description |
---|
CatalogFilterCategorySelectionMediator() |
Modifier and Type | Method and Description |
---|---|
void | close()
This method will perform cleanup on the business object mediator.
|
protected java.lang.String | getCatGroupId()
This method returns the catalog group id.
|
protected java.lang.String | getCFCatGroupId()
This method returns the catalog filter catalog group selection id.
|
protected java.lang.String | getConditionRelation()
This method returns condition relationship for the catalog filter catalog group selection.
|
protected int | getSelection()
This method returns the catalog group selection type.
|
protected java.lang.String | mapConditionRelation(java.lang.String relation)
This method maps the selection type in the noun to the internal selection type in the database.
|
protected int | mapSelectionType(java.lang.String selectionType)
This method maps the selection type in the noun to the internal selection type in the database.
|
protected TableDataObject | populateCFCATGROUP(com.ibm.commerce.catalog.facade.datatypes.CatalogGroupSelectionType catGroupSelection)
This method populates the physical object of CFCATGROUP table from the catalog filter logical object.
|
protected void | processCatalogGroupSelection(com.ibm.commerce.catalog.facade.datatypes.CatalogGroupSelectionType catGroupSelection)
This method resolves the parameters used by catalog filter catalog group selection data load.
|
protected java.lang.String | resolveCatalogGroupUniqueID(CatalogGroupIdentifierType groupIdentifierType)
Resolves the unique id of the catalog group according to catalog group identifier.
|
protected void | setCatGroupId(java.lang.String catGroupId)
This method sets the catalog group id.
|
protected void | setCFCatGroupId(java.lang.String cfCatGroupId)
This method sets the catalog filter catalog group selection id.
|
protected void | setConditionRelation(java.lang.String relation)
This method sets the condition relationship for the catalog filter catalog group selection.
|
protected void | setSelection(int selectionType)
This method sets catalog group selection type.
|
protected void | transform(java.lang.Object catlogFilterNoun, boolean deleteFlag)
This method transforms the logical catalog filter noun to physical objects of tables:CFCATGROUP.
|
public CatalogFilterCategorySelectionMediator()
protected void transform(java.lang.Object catlogFilterNoun, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateCFCATGROUP(com.ibm.commerce.catalog.facade.datatypes.CatalogGroupSelectionType catGroupSelection) throws DataLoadException
protected void processCatalogGroupSelection(com.ibm.commerce.catalog.facade.datatypes.CatalogGroupSelectionType catGroupSelection) throws DataLoadException
protected java.lang.String resolveCatalogGroupUniqueID(CatalogGroupIdentifierType groupIdentifierType) throws DataLoadException
protected void setConditionRelation(java.lang.String relation)
protected java.lang.String getConditionRelation()
protected void setSelection(int selectionType)
protected int getSelection()
protected void setCatGroupId(java.lang.String catGroupId)
protected java.lang.String getCatGroupId()
protected void setCFCatGroupId(java.lang.String cfCatGroupId)
protected java.lang.String getCFCatGroupId()
protected int mapSelectionType(java.lang.String selectionType)
protected java.lang.String mapConditionRelation(java.lang.String relation)
public void close() throws DataLoadException
This method will perform cleanup on the business object mediator. It will attempt to close all of the data writers configured for this business object mediator.
This method will flush and commit any data waiting to be persisted in the batch as well as clear the ID resolver cache.