public class ChangeCatalogFilterMediator extends AbstractChangeBusinessObjectMediatorImpl
Constructor and Description |
---|
ChangeCatalogFilterMediator() |
Modifier and Type | Method and Description |
---|---|
void | change(java.lang.Object aNoun)
This method performs no actions as Catfilter updates are done by the change Catfilter part mediator.
|
void | create(java.lang.Object aNoun)
Creates the physical entity corresponding to the logical CatalogFilterType noun.
|
void | delete(java.lang.Object aNoun)
Deletes the logical noun.
|
protected void | deleteRelatedProductSets(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aCatalogFilter)
This method deletes the product sets for catalog entry inclusion or exclusion for a catalog filter.
|
java.lang.Object | findPhysicalEntity(java.lang.Object aNoun)
Find Catfilter in the physical data container that is equivalent to the logical CatalogFilterType noun.
|
protected PhysicalDataContainer | initializePhysicalDataContainer(java.util.List aListNoun)
Initialize the physical data container for this mediator.
|
protected boolean | resolveByExternalIdentifier(java.lang.Object aNoun)
Resolve the noun part which has only the external identifier.
|
protected java.util.ArrayList | validateCatalogFilterRemovable(java.lang.String catalogFilterId)
This method validates if a catalog filter can be removed or not.
|
java.util.List | validateChange(java.lang.Object aNoun)
Checks if the object to be changed is present in the physical data container.
|
java.util.List | validateCreate(java.lang.Object aNoun)
Checks if the object to be created is present in the physical data container.
|
java.util.List | validateDelete(java.lang.Object aNoun)
Checks if the object to be removed is present in the physical data container.
|
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.List aListNoun) throws DataMediatorException
protected void deleteRelatedProductSets(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aCatalogFilter) throws AbstractApplicationException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun) throws DataMediatorException, CatalogApplicationException
public void create(java.lang.Object aNoun) throws AbstractApplicationException
public void change(java.lang.Object aNoun) throws AbstractApplicationException
public void delete(java.lang.Object aNoun) throws AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun) throws AbstractApplicationException
public java.util.List validateChange(java.lang.Object aNoun) throws AbstractApplicationException
public java.util.List validateCreate(java.lang.Object aNoun) throws AbstractApplicationException
public java.util.List validateDelete(java.lang.Object aNoun) throws AbstractApplicationException
protected java.util.ArrayList validateCatalogFilterRemovable(java.lang.String catalogFilterId) throws com.ibm.websphere.command.CommandException