Class DefaultSnIndexService
- java.lang.Object
-
- de.hybris.platform.searchservices.index.service.impl.DefaultSnIndexService
-
- All Implemented Interfaces:
SnIndexService
public class DefaultSnIndexService extends java.lang.Object implements SnIndexService
Default implementation ofSnIndexService.
-
-
Constructor Summary
Constructors Constructor Description DefaultSnIndexService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteIndexForId(java.lang.String indexTypeId, java.lang.String indexId)Deletes the index with the given id.java.lang.StringgetDefaultIndexId(java.lang.String indexTypeId)Returns the default index id for the given index type id.SnContextFactorygetSnContextFactory()SnSearchProviderFactorygetSnSearchProviderFactory()voidsetSnContextFactory(SnContextFactory snContextFactory)voidsetSnSearchProviderFactory(SnSearchProviderFactory snSearchProviderFactory)
-
-
-
Method Detail
-
getDefaultIndexId
public java.lang.String getDefaultIndexId(java.lang.String indexTypeId) throws SnIndexExceptionDescription 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
public void deleteIndexForId(java.lang.String indexTypeId, java.lang.String indexId) throws SnIndexExceptionDescription 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
public SnContextFactory getSnContextFactory()
-
setSnContextFactory
public void setSnContextFactory(SnContextFactory snContextFactory)
-
getSnSearchProviderFactory
public SnSearchProviderFactory getSnSearchProviderFactory()
-
setSnSearchProviderFactory
public void setSnSearchProviderFactory(SnSearchProviderFactory snSearchProviderFactory)
-
-