Class ItemIdentityProvider

java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.ItemIdentityProvider
All Implemented Interfaces:
IdentityProvider<ItemModel>

public class ItemIdentityProvider extends Object implements IdentityProvider<ItemModel>
Resolves unique Item's identity. Respects multi-catalog versions and items with no catalogs
  • Constructor Details

    • ItemIdentityProvider

      public ItemIdentityProvider()
  • Method Details

    • getIdentifier

      public String getIdentifier(IndexConfig indexConfig, ItemModel item)
      Description copied from interface: IdentityProvider
      Provides unique string representation of indexed type identifier that is generated with respect to the model type restrictions.
      Specified by:
      getIdentifier in interface IdentityProvider<ItemModel>
      Returns:
      identifier
    • prepareCatalogAwareItemIdentifier

      protected String prepareCatalogAwareItemIdentifier(ItemModel item)
    • getCatalogTypeService

      public CatalogTypeService getCatalogTypeService()
      Returns:
      the catalogTypeService
    • setCatalogTypeService

      public void setCatalogTypeService(CatalogTypeService catalogTypeService)
      Parameters:
      catalogTypeService - the catalogTypeService to set
    • getModelService

      public ModelService getModelService()
      Returns:
      the modelService
    • setModelService

      public void setModelService(ModelService modelService)
      Parameters:
      modelService - the modelService to set