public class ChangeCampaignElementPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeCampaignElementPartMediator() |
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
Dmelement
object to create. |
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method populates the physical data container with the
Dmelement
object to delete. |
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the
Dmelement physical SDO from the
PhysicalDataContainer that was created in the
initializePhysicalDataContainer method. |
java.lang.String[] |
getNounPartXPaths()
This method gets the xpath for the campaign element noun part that is part of the activity noun.
|
boolean |
isActivityActive(java.lang.Object aNoun)
This method checks if an activity is currently active.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified
Dmelement
object. |
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical campaign element noun part can be updated.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical campaign element noun part can be created.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical campaign element 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 void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Dmelement
object to create. It sets all the campaign element data, including any provided user data.
For the campaign element properties defined in the administration configuration file wc-admin-component.xml,
it saves date/times in the time zone specified in the business context.aNoun
- The logical ActivityType
SDO business object that is the parent of the object to create.aNounPart
- The logical CampaignElementType
SDO business object to create.AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Dmelement
object. It sets all the campaign element data, including any provided user data, from the
logical campaign element noun. It also updates the current version number on the activity.
For the campaign element properties defined in the administration configuration file wc-admin-component.xml,
it saves date/times in the time zone specified in the business context.aNoun
- The logical ActivityType
SDO business object which is the parent of the object to update.aNounPart
- The logical CampaignElementType
SDO business object to update.AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Dmelement
object to delete.aNoun
- The logical ActivityType
SDO business object that is the parent of the object to delete.aNounPart
- The logical CampaignElementType
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 ActivityType
SDO business object which is the parent of the object to validate.aNounPart
- The logical CampaignElementType
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, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical ActivityType
SDO business object which is the parent of the object to validate.aNounPart
- The logical CampaignElementType
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 ActivityType
SDO business object which is the parent of the object to validate.aNounPart
- The logical CampaignElementType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise the list will be empty.DataMediatorException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
Dmelement
physical SDO from the
PhysicalDataContainer
that was created in the
initializePhysicalDataContainer
method.aNoun
- The logical ActivityType
SDO.aNounPart
- The logical CampaignElementType
SDO.Dmelement
object if it is found, otherwise it returns null.DataMediatorException
public boolean isActivityActive(java.lang.Object aNoun) throws DataMediatorException
aNoun
- The logical ActivityType
SDO.Dmactivity
object is currently active, otherwise it returns false.DataMediatorException