Interface SnIndexService
- All Known Implementing Classes:
DefaultSnIndexService
public interface SnIndexService
Service for index related functionality.
-
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.
-
Method Details
-
getDefaultIndexId
Returns the default index id for the given index type id. The index might not yet exist on the target system.- Parameters:
indexTypeId- - the index type id- Returns:
- the default index id
- Throws:
SnIndexException- if an error occurs
-
deleteIndexForId
Deletes the index with the given id.- Parameters:
indexTypeId- - the index type idindexId- - the index id- Throws:
SnIndexException- if an error occurs
-