public class ChangeGiftListEventInformationPartMediator extends AbstractChangeGiftListPartMediator
GiftListEventInformation
part change mediator updates the
GiftListEventInformation
noun part.Constructor and Description |
---|
ChangeGiftListEventInformationPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method saves the
EventInformation |
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method removes the appropriate physical SDO from the physical data
container.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the physical SDO from the
PhysicalDataContainer that matches the
GiftListEventInformation noun part. |
java.lang.String[] |
getNounPartXPaths()
This method gets the XPATH for the noun part.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified
physical SDO object.
|
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the noun part can be updated.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the noun part can be created.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the noun part can be deleted.
|
createAddress, findGiftListPhysicalEntity, updateAddress
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 ChangeGiftListEventInformationPartMediator()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
EventInformation into the physical data container.
if GiftListType
is a type registry, createGiftListEventInformation
is invoked,
otherwise createWishListEventInformation
would be invoked.
aNoun
- The logical GiftListType
SDO business object.aNounPart
- The logical EventInformationType
SDO business object.AbstractApplicationException
GiftListType#isRegistry()}
,
#createGiftListEventInformation(GiftListType, Grgftreg)
,
#createWishListEventInformation(GiftListType, Grgftreg)
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical GiftListType
SDO business object to
update.aNounPart
- The logical GiftListEventInformationType
SDO
business object to update.AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical GiftListType
SDO business object.aNounPart
- The logical GiftCenterType
SDO business object.AbstractApplicationException
public java.lang.String[] getNounPartXPaths()
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
validateCreate
in interface ChangeBusinessObjectPartMediator
validateCreate
in class AbstractChangeGiftListPartMediator
aNoun
- The logical GiftListType
SDO business object.aNounPart
- The logical GiftListEventInformationType
SDO
business object.ApplicationError
if
there are any errors, otherwise the list will be empty.AbstractApplicationException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
validateChange
in interface ChangeBusinessObjectPartMediator
validateChange
in class AbstractChangeGiftListPartMediator
aNoun
- The logical GiftListType
SDO business object to
validate.aNounPart
- The logical GiftListEventInformationType
SDO
business object.ApplicationError
if
there are any errors, otherwise the list will be empty.AbstractApplicationException
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
validateDelete
in interface ChangeBusinessObjectPartMediator
validateDelete
in class AbstractChangeGiftListPartMediator
aNoun
- The logical GiftListType
SDO business object.aNounPart
- The logical GiftListEventInformationType
SDO
business object.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
PhysicalDataContainer
that matches the
GiftListEventInformation noun part.aNoun
- The logical GiftListType
SDO.aNounPart
- The logical GiftListEventInformationType
SDO.DataMediatorException