public abstract class AbstractChangeGiftListPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
AbstractChangeGiftListPartMediator() |
Modifier and Type | Method and Description |
---|---|
long |
createAddress(PhysicalDataContainer physicalContainer,
ContactInfoType contactInfoType)
This method creates an address entry for the
ContactInfoType type. |
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. |
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. |
applyChanges, convertToBigDecimal, convertToDate, convertToDouble, convertToInteger, convertToLong, getNounParts, getParentPhysicalDataContainer, getPhysicalDataContainer, initialize
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, delete, findPhysicalEntity, getNounPartXPaths, getUpdateAccessProfile, setUpdateAccessProfile, update
initializeConfig
public long createAddress(PhysicalDataContainer physicalContainer, ContactInfoType contactInfoType)
ContactInfoType
type.physicalContainer
- the physical containercontactInfoType
- the ContactInfoType
that contains the address.public void updateAddress(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Graddr aPhysicalEventAddress, ContactInfoType contactInfoType)
ContactInfoType
type.aPhysicalEventAddress
- the physical gift list event addresscontactInfoType
- the ContactInfoType
that contains the address.public java.util.List validateChange(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
GiftList
noun can be edited. A gift
list which is marked for deletion cannot be editednoun
- The GiftList
noun to validatenounPart
- The GiftList
noun part to validateApplicationError
objectsAbstractApplicationException
public java.util.List validateCreate(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
GiftList
noun can be updated. A gift
list which is marked for deletion cannot be modified to add a noun part.noun
- The GiftList
noun to validatenounPart
- The GiftList
noun part to validateApplicationError
objectsAbstractApplicationException
public java.util.List validateDelete(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
GiftList
noun can be updated. A gift
list which is marked for deletion cannot be modified to delete a nounpart.noun
- The GiftList
noun to validatenounPart
- The GiftList
noun part to validateApplicationError
objectsAbstractApplicationException
public java.lang.Object findGiftListPhysicalEntity(java.lang.Object aNoun) throws DataMediatorException
PhysicalDataContainer
that was created
in the ChangeGiftListMediator initializePhysicalDataContainer
method that matches the provided
noun.aNoun
- The logical GiftListType
SDO.DataMediatorException