public class ItemIdentityProvider extends java.lang.Object implements IdentityProvider<ItemModel>
| Constructor and Description |
|---|
ItemIdentityProvider() |
| Modifier and Type | Method and Description |
|---|---|
CatalogTypeService |
getCatalogTypeService() |
java.lang.String |
getIdentifier(IndexConfig indexConfig,
ItemModel item)
Provides unique string representation of indexed type identifier that is generated with respect to the model type
restrictions.
|
ModelService |
getModelService() |
protected java.lang.String |
prepareCatalogAwareItemIdentifier(ItemModel item) |
void |
setCatalogTypeService(CatalogTypeService catalogTypeService) |
void |
setModelService(ModelService modelService) |
public java.lang.String getIdentifier(IndexConfig indexConfig, ItemModel item)
IdentityProvidergetIdentifier in interface IdentityProvider<ItemModel>protected java.lang.String prepareCatalogAwareItemIdentifier(ItemModel item)
public CatalogTypeService getCatalogTypeService()
public void setCatalogTypeService(CatalogTypeService catalogTypeService)
catalogTypeService - the catalogTypeService to setpublic ModelService getModelService()
public void setModelService(ModelService modelService)
modelService - the modelService to setCopyright © 2018 SAP SE. All Rights Reserved.