com.ibm.commerce.member.dataload.mediator

Class AbstractMemberMediator

    • Constructor Detail

      • AbstractMemberMediator

        public AbstractMemberMediator()
    • Method Detail

      • init

        public void init()
                  throws DataLoadException
        This method performs initialization for the member mediator. Initialization tasks include:
        • Retrieve and set resolved context data from context services. Context data includes: languageId, storeId and currency.
        Specified by:
        init in interface BusinessObjectMediator
        Overrides:
        init in class AbstractBusinessObjectMediator
        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 AbstractBusinessObjectMediator
        Throws:
        DataLoadException - An application exception will be thrown if there was a problem closing the business object mediator or its data writers.