Interface IIndexingService<T>

Type Parameters:
T - the object to index

public interface IIndexingService<T>
This interface enables to index any object
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deletes the index for all the objects
    void
    deleteIndex(T object)
    Delete index
    void
    index(T object)
    Indexes a object
    void
    indexList(List<T> listObjects)
    Index a list of objects
  • Method Details

    • index

      void index(T object) throws IndexingException
      Indexes a object
      Parameters:
      object - the object to index
      Throws:
      IndexingException - if there is an exception during the indexing
    • indexList

      void indexList(List<T> listObjects) throws IndexingException
      Index a list of objects
      Parameters:
      listObjects - the list of objects to index
      Throws:
      IndexingException - if there is an exception during the indexing
    • deleteIndex

      void deleteIndex(T object) throws IndexingException
      Delete index
      Parameters:
      object - the object to delete
      Throws:
      IndexingException - if there is an exception during the deletion
    • deleteAllIndexes

      void deleteAllIndexes() throws IndexingException
      Deletes the index for all the objects
      Throws:
      IndexingException - if there is an exception during the deletion