Interface CatalogItem<T extends Item>

  • All Known Implementing Classes:
    ClassificationKeyword, GeneratedClassificationKeyword, Keyword

    public interface CatalogItem<T extends Item>
    Implementations of this class represents an catalog item (@see de.hybris.platform.catalog.jalo.Keyword).

    During synchronization these items are treated specially in the following cases:

    • references
    • Method Detail

      • getIDAttributeQualifier

        java.lang.String getIDAttributeQualifier()
        Must provide the attribute qualifier of the attribute holding the unique id of this item.
      • getCatalogVersionAttributeQualifier

        java.lang.String getCatalogVersionAttributeQualifier()
        Must provide the attribute qualifier of the attribute holding the catalog version which this item belongs to.
      • getCatalogItemID

        java.lang.String getCatalogItemID()
        Returns the unique id of this item. This id is unique within its enclosing catalog version only - other catalog versions may own items with the same id ( usually copies of this one ).
      • getCounterpartItem

        T getCounterpartItem​(CatalogVersion targetVersion)
        Optionally finds potential copies of this item within a synchronization target version. This applies to catalog items which have not been synchronized before but nevertheless already exist in both version and must be matched to avoid duplicates.

        Hint: Usually this can be easily implemented by searching for a item with he same id within the target version.