Class ItemIdentityProvider
java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.ItemIdentityProvider
- All Implemented Interfaces:
IdentityProvider<ItemModel>
Resolves unique Item's identity. Respects multi-catalog versions and items with no catalogs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIdentifier(IndexConfig indexConfig, ItemModel item) Provides unique string representation of indexed type identifier that is generated with respect to the model type restrictions.protected StringvoidsetCatalogTypeService(CatalogTypeService catalogTypeService) voidsetModelService(ModelService modelService)
-
Constructor Details
-
ItemIdentityProvider
public ItemIdentityProvider()
-
-
Method Details
-
getIdentifier
Description copied from interface:IdentityProviderProvides unique string representation of indexed type identifier that is generated with respect to the model type restrictions.- Specified by:
getIdentifierin interfaceIdentityProvider<ItemModel>- Returns:
- identifier
-
prepareCatalogAwareItemIdentifier
-
getCatalogTypeService
- Returns:
- the catalogTypeService
-
setCatalogTypeService
- Parameters:
catalogTypeService- the catalogTypeService to set
-
getModelService
- Returns:
- the modelService
-
setModelService
- Parameters:
modelService- the modelService to set
-