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. |
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.
|
applyChanges, getChangeNounPartMediator, getNouns, getPhysicalDataContainer, initialize
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
public void create(java.lang.Object aNoun) throws AbstractApplicationException
Collateral
object to create. It sets all the marketing content data, including any provided user data,
from the logical marketing content noun.aNoun
- The logical MarketingContentType
SDO business object to create.AbstractApplicationException
public void change(java.lang.Object aNoun) throws AbstractApplicationException
change
in interface ChangeBusinessObjectMediator
change
in class AbstractChangeBusinessObjectMediatorImpl
aNoun
- The logical MarketingContentType
SDO business object.AbstractApplicationException
public void delete(java.lang.Object aNoun) throws AbstractApplicationException
Collateral
object to delete.aNoun
- The logical MarketingContentType
SDO business object to delete.AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun) throws DataMediatorException
Collateral
physical SDO from the
PhysicalDataContainer
that was created in the
initializePhysicalDataContainer
method.aNoun
- The logical MarketingContentType
SDO.Collateral
object if it is found, otherwise it returns null.DataMediatorException
public java.util.List validateCreate(java.lang.Object aNoun) throws DataMediatorException
aNoun
- The logical MarketingContentType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise it returns an empty list.DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun) throws DataMediatorException
aNoun
- The logical MarketingContentType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise it returns an empty list.DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun) throws DataMediatorException
aNoun
- The logical MarketingContentType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise it returns an empty list.DataMediatorException