public class ChangePromotionElementPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangePromotionElementPartMediator() |
Modifier and Type | Method and Description |
---|---|
void | create(java.lang.Object aNoun, java.lang.Object aNounPart)
This method creates the PromotionElement noun part.
|
void | delete(java.lang.Object aNoun, java.lang.Object aNounPart)
This method deletes the PromotionElement noun part of a Promotion.
|
java.lang.Object | findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart)
This method returns the PromotionElementType physical SDO from the PhysicalDataContainer that was created in the ChangePromotionMediator mediator.
|
protected CommerceFoundationFactory | getCommerceFoundationFactory()
This method will return the default instance of the Commerce Foundation Factory.
|
java.lang.String[] | getNounPartXPaths()
This method gets the xpath for the noun part.
|
protected com.ibm.commerce.promotion.facade.datatypes.PromotionFactory | getPromotionFactory()
Getter method which returns the PromotionFactory.
|
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)
This method performs no actions as the resolve is done by the ChangePromotionMediator.
|
void | update(java.lang.Object aNoun, java.lang.Object aNounPart)
This method updates the physical data container with the modified PromotionElement object.
|
java.util.List | validateChange(java.lang.Object aNoun, java.lang.Object aNounPart)
This method checks if the logical PromotionElementType noun part can be updated.
|
java.util.List | validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart)
This method checks if the logical PromotionElementType noun part can be created.
|
java.util.List | validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart)
This method checks if the logical PromotionElementType noun part can be deleted.
|
public java.lang.String[] getNounPartXPaths()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.Map aMapNounPart) throws DataMediatorException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart)
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
public java.util.List validateChange(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
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
protected CommerceFoundationFactory getCommerceFoundationFactory()
protected com.ibm.commerce.promotion.facade.datatypes.PromotionFactory getPromotionFactory()