public class ChangeMarketingContentMediator extends AbstractChangeBusinessObjectMediatorImpl
Constructor and Description |
---|
ChangeMarketingContentMediator() |
Modifier and Type | Method and Description |
---|---|
void | change(java.lang.Object aNoun)
This method performs no actions as the updating of marketing content is done by the change marketing content part mediator.
|
void | create(java.lang.Object aNoun)
This method populates the physical data container with the new Collateral object to create.
|
void | delete(java.lang.Object aNoun)
This method updates the physical data container with the Collateral object to delete.
|
java.lang.Object | findPhysicalEntity(java.lang.Object aNoun)
This method returns the Collateral physical SDO from the PhysicalDataContainer that was created in the initializePhysicalDataContainer method.
|
protected CommerceFoundationFactory | getCommerceFoundationFactory()
This method returns the default instance of the Commerce Foundation Factory.
|
protected Emspot[] | getEMSpotsAssociatedWithCollateral(java.lang.String collateralId)
This method returns the E-Marketing Spots for which the specified collateral is used in a default content or a default title.
|
protected PhysicalDataContainer | initializePhysicalDataContainer(java.util.List aListNoun)
This method initializes the physical data container for this mediator.
|
protected boolean | resolveByExternalIdentifier(java.lang.Object aNoun)
This method sets the unique ID in the noun if it does not have the unique ID set, but has the external identifier set.
|
java.util.List | validateChange(java.lang.Object aNoun)
This method checks if the logical marketing content noun can be updated.
|
java.util.List | validateCreate(java.lang.Object aNoun)
This method checks if the logical marketing content noun can be created.
|
java.util.List | validateDelete(java.lang.Object aNoun)
This method checks if the logical marketing content noun can be deleted.
|
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 DataMediatorException
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.List aListNoun) throws DataMediatorException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun) throws DataMediatorException
public java.util.List validateCreate(java.lang.Object aNoun) throws DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun) throws DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun) throws DataMediatorException
protected CommerceFoundationFactory getCommerceFoundationFactory()
protected Emspot[] getEMSpotsAssociatedWithCollateral(java.lang.String collateralId) throws DataMediatorException