Class ItemIdentityProvider

    • Constructor Detail

      • ItemIdentityProvider

        public ItemIdentityProvider()
    • Method Detail

      • getIdentifier

        public java.lang.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 java.lang.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