public class ChangeMarketingSpotDefaultContentPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeMarketingSpotDefaultContentPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method populates the physical data container with the new
Dmemspotdef
object to create. |
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method populates the physical data container with the
Dmemspotdef
object to delete. |
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the
Dmemspotdef physical SDO from the
PhysicalDataContainer that was created in the
initializePhysicalDataContainer method. |
java.lang.String[] |
getNounPartXPaths()
This method gets the xpath for the default content noun part that is part of the marketing spot noun.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified
Dmemspotdef
object. |
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as there are no fields in default content that can be updated.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical marketing spot default content noun part can be created.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method determines whether the logical marketing spot default content noun part can be deleted.
|
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 ChangeMarketingSpotDefaultContentPartMediator()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Dmemspotdef
object to create.aNoun
- The logical MarketingSpotType
SDO business object that is the parent of the object to create.aNounPart
- The logical DefaultContent
SDO business object to create.AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Dmemspotdef
object. It sets the content type and content identifier, if provided.aNoun
- The logical MarketingSpotType
SDO business object which is the parent of the object to update.aNounPart
- The logical DefaultContent
SDO business object to update.AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Dmemspotdef
object to delete.aNoun
- The logical MarketingSpotType
SDO business object that is the parent of the object to delete.aNounPart
- The logical DefaultContent
SDO business object to delete.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 which is the parent of the object to validate.aNounPart
- The logical DefaultContent
SDO business object to validate.ApplicationError
s if there are any
errors, otherwise it returns an empty list.DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object which is the parent of the object to validate.aNounPart
- The logical DefaultContent
SDO business object to validate.ApplicationError
s if there are any
errors, otherwise it returns an empty list.DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical MarketingSpotType
SDO business object which is the parent of the object to validate.aNounPart
- The logical DefaultContent
SDO business object to validate.ApplicationError
if there are any
errors, otherwise it returns an empty list.DataMediatorException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
Dmemspotdef
physical SDO from the
PhysicalDataContainer
that was created in the
initializePhysicalDataContainer
method.aNoun
- The logical MarketingSpotType
SDO.aNounPart
- The logical DefaultContent
SDO.Dmemspotdef
object if it is found, otherwise it returns null.DataMediatorException