Interface SnIndexService

All Known Implementing Classes:
DefaultSnIndexService

public interface SnIndexService
Service for index related functionality.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteIndexForId(String indexTypeId, String indexId)
    Deletes the index with the given id.
    Returns the default index id for the given index type id.
  • Method Details

    • getDefaultIndexId

      String getDefaultIndexId(String indexTypeId) throws SnIndexException
      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

      void deleteIndexForId(String indexTypeId, String indexId) throws SnIndexException
      Deletes the index with the given id.
      Parameters:
      indexTypeId - - the index type id
      indexId - - the index id
      Throws:
      SnIndexException - if an error occurs