public class ChangeGiftListMediator extends AbstractChangeBusinessObjectMediatorImpl
Constructor and Description |
---|
ChangeGiftListMediator() |
Modifier and Type | Method and Description |
---|---|
void | change(java.lang.Object aNoun)
This method performs no actions as GiftList updates are done by the change GiftList part mediator.
|
void | create(java.lang.Object aNoun)
This method populates the physical data container with the physical SDO object to create.
|
protected void | createDefaultUserAuthentication(java.lang.Long giftRegistryId, java.lang.String password, java.lang.Integer type)
This method creates an entry in the user authentication physical object for the gift list.
|
void | createUserAuthentication(com.ibm.commerce.giftcenter.facade.datatypes.GiftListType logicalGiftList, com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grgftreg physicalGiftList)
This method is for creating the authentication details for the gift list that is being created.
|
void | delete(java.lang.Object aNoun)
This method updates the physical data container with the physical SDO object to delete.
|
java.lang.Object | findPhysicalEntity(java.lang.Object aNoun)
This method returns the physical SDO from the PhysicalDataContainer that was created in the 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.
|
protected PhysicalDataContainer | initializePhysicalDataContainer(java.util.List aListNoun)
This method initializes the physical data container for this mediator.
|
protected com.ibm.commerce.giftcenter.facade.datatypes.GiftListType | populateAccessKeys(com.ibm.commerce.giftcenter.facade.datatypes.GiftListType giftListType)
This method populates the access keys into the GiftListType.
|
protected com.ibm.commerce.giftcenter.facade.datatypes.GiftListType | populateExternalIds(com.ibm.commerce.giftcenter.facade.datatypes.GiftListType giftListType)
This method populates the external identifier into the GiftListType.
|
protected boolean | resolveByExternalIdentifier(java.lang.Object aNoun)
This method sets the unique ID in the noun if it does not have the unique ID set but has the external identifier set.
|
java.util.List | validateChange(java.lang.Object aNoun)
This method checks if the logical GiftList noun can be updated.
|
java.util.List | validateCreate(java.lang.Object aNoun)
This method checks if the logical GiftList noun can be created.
|
java.util.List | validateDelete(java.lang.Object aNoun)
This method checks if the logical GiftList noun can be deleted.
|
public void create(java.lang.Object aNoun) throws AbstractApplicationException
protected com.ibm.commerce.giftcenter.facade.datatypes.GiftListType populateAccessKeys(com.ibm.commerce.giftcenter.facade.datatypes.GiftListType giftListType) throws AbstractApplicationException
protected com.ibm.commerce.giftcenter.facade.datatypes.GiftListType populateExternalIds(com.ibm.commerce.giftcenter.facade.datatypes.GiftListType giftListType) throws AbstractApplicationException
public void createUserAuthentication(com.ibm.commerce.giftcenter.facade.datatypes.GiftListType logicalGiftList, com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grgftreg physicalGiftList)
protected void createDefaultUserAuthentication(java.lang.Long giftRegistryId, java.lang.String password, java.lang.Integer type)
public void change(java.lang.Object aNoun) throws AbstractApplicationException
public void delete(java.lang.Object aNoun) throws AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun) throws DataMediatorException
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.List aListNoun) throws DataMediatorException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun) throws java.lang.Exception
public java.util.List validateCreate(java.lang.Object aNoun) throws AbstractApplicationException
public java.util.List validateChange(java.lang.Object aNoun) throws AbstractApplicationException
public java.util.List validateDelete(java.lang.Object aNoun) throws AbstractApplicationException
protected CommerceFoundationFactory getCommerceFoundationFactory()
protected com.ibm.commerce.giftcenter.facade.datatypes.GiftCenterFactory getGiftCenterFactory()