public class ChangeGiftListCoRegistrantPartMediator extends AbstractChangeGiftListPartMediator
Constructor and Description |
---|
ChangeGiftListCoRegistrantPartMediator() |
Modifier and Type | Method and Description |
---|---|
void | create(java.lang.Object aNoun, java.lang.Object aNounPart)
This method creates the appropriate physical SDO and adds it to the physical data container.
|
protected long | createCoRegistrantAddress(ContactInfoType contactInfo)
This method create a registrant address.
|
protected void | createGiftListCoRegistrant(java.lang.Object aNoun, java.lang.Object aNounPart)
This method saves a gift list co-registrant information available in logical object to the physical object.
|
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 GiftListRegistrant noun part.
|
java.lang.String[] | getNounPartXPaths()
This method gets the xpath for the noun part.
|
protected PhysicalDataContainer | initializePhysicalDataContainer(java.util.Map aMapNounPart)
This method initializes the physical data container for this mediator.
|
protected boolean | resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart)
Resolve the noun part which has only the external identifier.
|
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 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.
|
protected java.util.List | validateParameters(java.lang.Object aNoun, java.lang.Object aNounPart)
Utility method which validates the parameters present in logical noun.
|
public ChangeGiftListCoRegistrantPartMediator()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
protected void createGiftListCoRegistrant(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public java.lang.String[] getNounPartXPaths()
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.Map aMapNounPart) throws DataMediatorException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart) throws java.lang.Exception
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
protected java.util.List validateParameters(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
protected long createCoRegistrantAddress(ContactInfoType contactInfo)