public abstract class AbstractChangeGiftListPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
AbstractChangeGiftListPartMediator() |
Modifier and Type | Method and Description |
---|---|
protected boolean | canPerformEdit(java.lang.Object noun, java.lang.Object nounPart)
Checks if the user can edit a gift list.
|
long | createAddress(PhysicalDataContainer physicalContainer, ContactInfoType contactInfoType)
This method creates an address entry for the ContactInfoType type.
|
protected long | createRegistrantAddress(ContactInfoType contactInfo)
This method create a registrant address.
|
java.lang.Object | findGiftListPhysicalEntity(java.lang.Object aNoun)
This method returns the physical SDO from the parent PhysicalDataContainer that was created in the ChangeGiftListMediator initializePhysicalDataContainer method that matches the provided noun.
|
protected CommerceFoundationFactory | getCommerceFoundationFactory()
This method returns the default instance of the Commerce Foundation Factory.
|
protected com.ibm.commerce.giftcenter.facade.datatypes.GiftCenterFactory | getGiftCenterFactory()
This method returns an instance of the gift center factory used to create logical gift list SDO.
|
void | updateAddress(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Graddr aPhysicalEventAddress, ContactInfoType contactInfoType)
This method updates the address fields of physical gift list address using the passed logical ContactInfoType type.
|
java.util.List | validateChange(java.lang.Object noun, java.lang.Object nounPart)
Validates whether the GiftList noun can be edited.
|
java.util.List | validateCreate(java.lang.Object noun, java.lang.Object nounPart)
Validates whether the GiftList noun can be updated.
|
java.util.List | validateDelete(java.lang.Object noun, java.lang.Object nounPart)
Validates whether the GiftList noun can be updated.
|
protected long createRegistrantAddress(ContactInfoType contactInfo)
public long createAddress(PhysicalDataContainer physicalContainer, ContactInfoType contactInfoType)
public void updateAddress(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Graddr aPhysicalEventAddress, ContactInfoType contactInfoType)
public java.util.List validateChange(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
protected boolean canPerformEdit(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public java.util.List validateCreate(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public java.util.List validateDelete(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
protected CommerceFoundationFactory getCommerceFoundationFactory()
protected com.ibm.commerce.giftcenter.facade.datatypes.GiftCenterFactory getGiftCenterFactory()
public java.lang.Object findGiftListPhysicalEntity(java.lang.Object aNoun) throws DataMediatorException