com.ibm.commerce.member.dataload.mediator

Class PersonMediator

  • All Implemented Interfaces:
    BusinessObjectMediator


    public class PersonMediator
    extends AbstractMemberMediator
    This mediator transforms Person noun to a list of physical objects. The transformed data include user contact information, demographic data, personal and business profiles, registration, user/organization relationships, address book and addresses. This mediator populates these tables:
    • MEMBER
    • MBRREL
    • MBRROLE
    • USERS
    • USERREG
    • USERDEMO
    • USERPROF
    • BUSPROF
    • EMLUSRRECV
    • ADDRBOOK
    • ADDRESS
    This is the main mediator to create, update or delete person member.
    • Constructor Detail

      • PersonMediator

        public PersonMediator()
    • Method Detail

      • init

        public void init()
                  throws DataLoadException
        This method performs initialization for the member mediator. Initialization tasks include:
        • Retrieve and validate mediator properties, initialize the store map.
        Specified by:
        init in interface BusinessObjectMediator
        Overrides:
        init in class AbstractMemberMediator
        Throws:
        DataLoadException - An application exception will be thrown if there was a problem retrieving the business contexts.
      • close

        public void close()
                   throws DataLoadException

        This method will perform cleanup on the business object mediator. It will attempt to close all of the data writers configured for this business object mediator.

        This method will flush and commit any data waiting to be persisted in the batch as well as clear the ID resolver cache.

        Specified by:
        close in interface BusinessObjectMediator
        Overrides:
        close in class AbstractMemberMediator
        Throws:
        DataLoadException - An application exception will be thrown if there was a problem closing the business object mediator or its data writers.