public class CatalogGroupMediator extends AbstractCatalogGroupMediator
Constructor and Description |
---|
CatalogGroupMediator() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | getActionString()
Returns the change history action code for the catalog group.
|
protected java.lang.String | getIdentiferForMarkForDeleteCategory(java.lang.String astrString)
This method returns the identifier of the marked for delete category.
|
void | init()
This method performs initialization for the catalog group mediator.
|
protected boolean | isMarkForDelete()
Whether or not mark for delete is enabled for the mediator.
|
protected void | markCatalogGroupForDelete(java.lang.String catalogGroupID)
Delete the catalog group by setting the mark for delete flag.
|
protected TableDataObject | populateCATGROUP(CatalogGroupType catalogGroupNoun)
Populates the physical object of CATGROUP table from the catalog group logical object.
|
protected TableDataObject | populateSTORECGRP(java.lang.String catGroupID, java.lang.Integer storeID)
Populates the physical object of STORECGRP table from the catalog group logical object.
|
protected int | removeCATGPENRELData(java.lang.String catalogGroupID)
Removes the data in the CATGPENREL table for the deleted category.
|
protected int | removeCATGRPRELData(java.lang.String catalogGroupID)
Removes the data in the CATGRPREL for the deleted category.
|
protected void | removeCATTOGRPData(java.lang.String catalogGroupID)
Removes the data in the CATTOGRP table for the deleted category.
|
protected void | removeSEOData(CatalogGroupType catalogGroup)
Removes the SEO data for the deleted category.
|
protected void | transform(java.lang.Object catalogGroupNoun, boolean deleteFlag)
Transforms the logical catalog group noun to physical objects of tables: CATGROUP, STORECGRP, CATGRPDESC, CATGRPREL.
|
protected boolean isMarkForDelete()
public void init() throws DataLoadException
protected void transform(java.lang.Object catalogGroupNoun, boolean deleteFlag) throws DataLoadException
protected int removeCATGPENRELData(java.lang.String catalogGroupID) throws DataLoadException
protected int removeCATGRPRELData(java.lang.String catalogGroupID) throws DataLoadException
protected void removeCATTOGRPData(java.lang.String catalogGroupID) throws DataLoadException
protected void removeSEOData(CatalogGroupType catalogGroup) throws com.ibm.commerce.catalog.dataload.exception.CatalogDataLoadApplicationException
protected java.lang.String getIdentiferForMarkForDeleteCategory(java.lang.String astrString)
protected void markCatalogGroupForDelete(java.lang.String catalogGroupID) throws DataLoadException
protected TableDataObject populateCATGROUP(CatalogGroupType catalogGroupNoun) throws DataLoadException
protected TableDataObject populateSTORECGRP(java.lang.String catGroupID, java.lang.Integer storeID)
protected java.lang.String getActionString()