public class ChangeCatalogFilterProductSetSelectionPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ChangeCatalogFilterProductSetSelectionPartMediator() |
Modifier and Type | Method and Description |
---|---|
protected void | addCatalogEntry(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aNounType, com.ibm.commerce.catalog.facade.datatypes.ProductSetSelectionType aNounPartType, java.lang.Short psType, java.lang.String catalogEntryID)
Add a catalog entry explicitly into a catalog filter for inclusion or exclusion.
|
protected void | addImplicitSKU(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aNounType, com.ibm.commerce.catalog.facade.datatypes.ProductSetSelectionType aNounPartType, java.lang.Short psType, java.lang.String skuID)
Add a SKU implicitly into a catalog filter when its parent product is explicitly added into catalog filter for inclusion or exclusion.
|
void | create(java.lang.Object aNoun, java.lang.Object aNounPart)
This method creates the appropriate physical SDO and adds it to the physical data container.
|
void | delete(java.lang.Object aNoun, java.lang.Object aNounPart)
This method removes the appropriate physical SDO from the physical data container.
|
protected ProductSetCatalogEntryRelation | findImplicitSKU(java.lang.String skuID, ProductSet skuProductset)
Find the catalog entry to product set relation record of an SKU in the product set of implicit SKU.
|
protected com.ibm.commerce.catalog.facade.server.entity.datatypes.Cfproductset | findImplicitSKUCfProductSet(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aNoun, com.ibm.commerce.catalog.facade.datatypes.ProductSetSelectionType aNounPart)
Find the product set for implicit SKU.
|
java.lang.Object | findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart)
This method returns the physical SDO from the PhysicalDataContainer that matches the ProductSetSelection noun part.
|
java.lang.String[] | getNounPartXPaths()
This method gets the xpath for the noun part.
|
protected PhysicalDataContainer | initializePhysicalDataContainer(java.util.Map aMapNounPart)
This method initializes the physical data container for this mediator.
|
protected boolean | resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart)
Resolve the noun part which has only the external identifier.
|
void | update(java.lang.Object aNoun, java.lang.Object aNounPart)
This method updates the physical data container with the modified physical SDO object.
|
java.util.List | validateChange(java.lang.Object aNoun, java.lang.Object aNounPart)
This method checks if the noun part can be updated.
|
java.util.List | validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart)
This method checks if the noun part can be created.
|
java.util.List | validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart)
This method checks if the noun part can be deleted.
|
public static final java.lang.String COPYRIGHT
public ChangeCatalogFilterProductSetSelectionPartMediator()
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.Map aMapNounPart) throws DataMediatorException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart)
protected void addImplicitSKU(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aNounType, com.ibm.commerce.catalog.facade.datatypes.ProductSetSelectionType aNounPartType, java.lang.Short psType, java.lang.String skuID) throws CatalogApplicationException
protected void addCatalogEntry(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aNounType, com.ibm.commerce.catalog.facade.datatypes.ProductSetSelectionType aNounPartType, java.lang.Short psType, java.lang.String catalogEntryID) throws CatalogApplicationException
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
protected ProductSetCatalogEntryRelation findImplicitSKU(java.lang.String skuID, ProductSet skuProductset)
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
protected com.ibm.commerce.catalog.facade.server.entity.datatypes.Cfproductset findImplicitSKUCfProductSet(com.ibm.commerce.catalog.facade.datatypes.CatalogFilterType aNoun, com.ibm.commerce.catalog.facade.datatypes.ProductSetSelectionType aNounPart)
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
public java.lang.String[] getNounPartXPaths()
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException