com.ibm.commerce.catalogfilter.dataload.mediator

Class CatalogFilterCatentrySelectionMediator

    • Constructor Detail

      • CatalogFilterCatentrySelectionMediator

        public CatalogFilterCatentrySelectionMediator()
    • Method Detail

      • getExcludeImplicitProductSetId

        public java.lang.String getExcludeImplicitProductSetId()
        This method returns the excludeImplicitProductSetId catalog product set id.
        Returns:
        excludeImplicitProductSetId excluded catalog product set id.
      • setExcludeImplicitProductSetId

        public void setExcludeImplicitProductSetId(java.lang.String prodSetId)
        This method sets excludeImplicitProductSetId catalog product set id.
        Parameters:
        prodSetId - catalog product set id
      • getIncludeImplicitProductSetId

        public java.lang.String getIncludeImplicitProductSetId()
        This method returns the includeImplicitProductSetId catalog product set id.
        Returns:
        includeImplicitProductSetId included catalog product set id.
      • setIncludeImplicitProductSetId

        public void setIncludeImplicitProductSetId(java.lang.String prodSetId)
        This method sets includeImplicitProductSetId catalog product set id.
        Parameters:
        prodSetId - catalog product set id
      • isProduct

        public boolean isProduct()
        This method returns the given partNumber indicated a product or not
        Returns:
        a boolean flag to check the given partNumber indicated a product or not
      • setProduct

        public void setProduct(boolean isProduct)
        Parameters:
        isProduct -
      • getFlagForCatentryReplace

        public int getFlagForCatentryReplace()
      • setFlagForCatentryReplace

        public void setFlagForCatentryReplace(int flagForCatentryReplace)
      • init

        public void init()
                  throws DataLoadException
        Performs initialization for the catalog filter catalog entry selection mediator.
        Specified by:
        init in interface BusinessObjectMediator
        Overrides:
        init in class com.ibm.commerce.catalogfilter.dataload.mediator.AbstractCatalogFilterMediator
        Throws:
        DataLoadException - If an error occurs when setting value in DBPreparedStatement.
      • 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 com.ibm.commerce.catalogfilter.dataload.mediator.AbstractCatalogFilterMediator
        Throws:
        DataLoadException - An application exception will be thrown if there was a problem closing the business object mediator or its data writers.