Class DefaultSnIndexService
java.lang.Object
de.hybris.platform.searchservices.index.service.impl.DefaultSnIndexService
- All Implemented Interfaces:
SnIndexService
Default implementation of
SnIndexService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteIndexForId(String indexTypeId, String indexId) Deletes the index with the given id.getDefaultIndexId(String indexTypeId) Returns the default index id for the given index type id.voidsetSnContextFactory(SnContextFactory snContextFactory) voidsetSnSearchProviderFactory(SnSearchProviderFactory snSearchProviderFactory)
-
Constructor Details
-
DefaultSnIndexService
public DefaultSnIndexService()
-
-
Method Details
-
getDefaultIndexId
Description copied from interface:SnIndexServiceReturns the default index id for the given index type id. The index might not yet exist on the target system.- Specified by:
getDefaultIndexIdin interfaceSnIndexService- Parameters:
indexTypeId- - the index type id- Returns:
- the default index id
- Throws:
SnIndexException- if an error occurs
-
deleteIndexForId
Description copied from interface:SnIndexServiceDeletes the index with the given id.- Specified by:
deleteIndexForIdin interfaceSnIndexService- Parameters:
indexTypeId- - the index type idindexId- - the index id- Throws:
SnIndexException- if an error occurs
-
getSnContextFactory
-
setSnContextFactory
-
getSnSearchProviderFactory
-
setSnSearchProviderFactory
-