com.ibm.commerce.catalog.dataload.mediator

Class CatalogMediator

    • Constructor Detail

      • CatalogMediator

        public CatalogMediator()
    • Method Detail

      • getCatalog

        public CatalogType getCatalog()
        Gets the catalog logical noun.
        Returns:
        The catalog logical noun.
      • setCatalog

        public void setCatalog(CatalogType catalog)
        Sets the catalog logical noun.
        Parameters:
        catalog - The catalog logical noun to be set.
      • 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 AbstractBaseCatalogMediator
        Throws:
        DataLoadException - An application exception will be thrown if there was a problem closing the business object mediator or its data writers.