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