public class ChangeMarketingSpotMediator extends AbstractChangeBusinessObjectMediatorImpl
Constructor and Description |
---|
ChangeMarketingSpotMediator() |
Modifier and Type | Method and Description |
---|---|
void |
change(java.lang.Object aNoun)
This method performs no actions as the updating of marketing spots is done by the change marketing spot part mediator.
|
void |
create(java.lang.Object aNoun)
This method populates the physical data container with the new
Emspot
object to create. |
void |
delete(java.lang.Object aNoun)
This method updates the physical data container with the
Emspot
object to delete. |
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun)
This method returns the
Emspot 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 spot noun can be updated.
|
java.util.List |
validateCreate(java.lang.Object aNoun)
This method checks if the logical marketing spot noun can be created.
|
java.util.List |
validateDelete(java.lang.Object aNoun)
This method checks if the logical marketing spot 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
Emspot
object to create. It sets all the marketing spot data, including any provided user data,
from the logical marketing spot noun.aNoun
- The logical MarketingSpotType
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 MarketingSpotType
SDO business object.AbstractApplicationException
public void delete(java.lang.Object aNoun) throws AbstractApplicationException
Emspot
object to delete.aNoun
- The logical MarketingSpotType
SDO business object to delete.AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun) throws DataMediatorException
Emspot
physical SDO from the
PhysicalDataContainer
that was created in the
initializePhysicalDataContainer
method.aNoun
- The logical MarketingSpotType
SDO.Emspot
object if it is found, otherwise it returns null.DataMediatorException
public java.util.List validateCreate(java.lang.Object aNoun) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise the list will be empty.DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise the list will be empty.DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise the list will be empty.DataMediatorException