public class ChangeMarketingContentPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeMarketingContentPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as marketing content creation is done by the change
marketing content mediator.
|
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as marketing content deletion is done by the change
marketing content mediator.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the
Collateral physical SDO from the
PhysicalDataContainer that was created in the
ChangeMarketingContentMediator mediator. |
java.lang.String[] |
getNounPartXPaths()
This method gets the xpath for the main marketing content noun part.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified
Collateral
object. |
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical marketing content 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 Content 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 Content 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 MarketingContentType
SDO business object.aNounPart
- The logical MarketingContentType
SDO business object.AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Collateral
object. 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 update.aNounPart
- The logical MarketingContentType
SDO business object to update.AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical MarketingContentType
SDO business object.aNounPart
- The logical MarketingContentType
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 MarketingContentType
SDO business object.aNounPart
- The logical MarketingContentType
SDO business object.DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical MarketingContentType
SDO business object.aNounPart
- The logical MarketingContentType
SDO business object.ApplicationError
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 MarketingContentType
SDO business object.aNounPart
- The logical MarketingContentType
SDO business object.DataMediatorException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
Collateral
physical SDO from the
PhysicalDataContainer
that was created in the
ChangeMarketingContentMediator
mediator.aNoun
- The logical MarketingContentType
SDO.aNounPart
- The logical MarketingContentType
SDO.Collateral
object if it is found, otherwise it returns null.DataMediatorException