com.ibm.commerce.catalog.dataload.mediator

Class AttributeDictionaryAttributeMediator

    • Field Detail

      • ATTRIBUTE_INDEX_FIELD_STRING_NAME

        public static final java.lang.String ATTRIBUTE_INDEX_FIELD_STRING_NAME
        Constant for attribute string index field name.
        See Also:
        Constant Field Values
      • ATTRIBUTE_INDEX_FIELD_INTEGER_NAME

        public static final java.lang.String ATTRIBUTE_INDEX_FIELD_INTEGER_NAME
        Constant for attribute integer index field name.
        See Also:
        Constant Field Values
      • ATTRIBUTE_INDEX_FIELD_FLOAT_NAME

        public static final java.lang.String ATTRIBUTE_INDEX_FIELD_FLOAT_NAME
        Constant for attribute float index field name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttributeDictionaryAttributeMediator

        public AttributeDictionaryAttributeMediator()
    • Method Detail

      • init

        public void init()
                  throws DataLoadException
        This method performs initialization for the catalog entry attribute mediator. Initialization includes:
        • Initialize the prepared SQL statements used for select or delete attribute value
        Specified by:
        init in interface BusinessObjectMediator
        Overrides:
        init in class AbstractBaseCatalogMediator
        Throws:
        DataLoadException - An application exception will be thrown if there was a problem during initialization.
      • setAllowChangeAttributeType

        public void setAllowChangeAttributeType(boolean allowChangeAttributeType)
        Set the value for the config property allowChangeAttributeType.
        Parameters:
        allowChangeAttributeType -
      • getAllowChangeAttributeType

        public boolean getAllowChangeAttributeType()
        Get the value for the config property allowChangeAttributeType.
        Returns:
        isAllowChangeAttributeType
      • 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.