public class ChangeMarketingSpotPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeMarketingSpotPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as marketing spot creation is done by the change marketing spot mediator.
|
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as marketing spot deletion is done by the change marketing spot mediator.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the
Emspot physical SDO from the
PhysicalDataContainer that was created in the
ChangeMarketingSpotMediator mediator. |
java.lang.String[] |
getNounPartXPaths()
This method gets the xpath for the main marketing spot noun part.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified
Emspot
object. |
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical marketing spot noun can be updated.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no checking as the validation is done by the Change marketing spot mediator.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no checking as the validation is done by the Change marketing spot mediator.
|
applyChanges, convertToBigDecimal, convertToDate, convertToDouble, convertToInteger, convertToLong, getNounParts, getParentPhysicalDataContainer, getPhysicalDataContainer, initialize
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical MarketingSpotType
SDO business object.aNounPart
- The logical MarketingSpotType
SDO business object.AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Emspot
object. 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 update.aNounPart
- The logical MarketingSpotType
SDO business object to update.AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical MarketingSpotType
SDO business object.aNounPart
- The logical MarketingSpotType
SDO business object.AbstractApplicationException
public java.lang.String[] getNounPartXPaths()
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object.aNounPart
- The logical MarketingSpotType
SDO business object.DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object to validate.aNounPart
- 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, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object.aNounPart
- The logical MarketingSpotType
SDO business object.DataMediatorException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
Emspot
physical SDO from the
PhysicalDataContainer
that was created in the
ChangeMarketingSpotMediator
mediator.aNoun
- The logical MarketingSpotType
SDO.aNounPart
- The logical MarketingSpotType
SDO.Emspot
object if it is found, otherwise it returns null.DataMediatorException