public class ChangeGiftListDescriptionPartMediator extends AbstractChangeGiftListPartMediator
Constructor and Description |
---|
ChangeGiftListDescriptionPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method creates a noun part
Description for a GiftListType . |
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as GiftList deletion is done by the change GiftList mediator.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the physical SDO from the
PhysicalDataContainer that was created in the
ChangeGiftListMediator mediator. |
java.lang.String[] |
getNounPartXPaths()
This method gets the XPath for the main GiftList 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 logical GiftList noun can be updated.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method validates the parameter values present in aNounPart.
|
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 GiftList mediator.
|
java.util.List |
validateParameters(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical GiftList noun can be updated.
|
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 ChangeGiftListDescriptionPartMediator()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Description
for a GiftListType
.aNoun
- The logical GiftListType
SDO business object.aNounPart
- The logical Description
SDO business object.AbstractApplicationException
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 GiftListType
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 GiftListType
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 GiftListType
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 GiftListType
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 GiftListType
SDO business object.DataMediatorException
public java.util.List validateParameters(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical GiftListType
SDO business object to validate.aNounPart
- The logical GiftListType
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 was created in the
ChangeGiftListMediator
mediator.aNoun
- The logical GiftListType
SDO.aNounPart
- The logical GiftListType
SDO.PhysicalGiftList
object if it is found, otherwise it returns null.DataMediatorException