Interface SearchableDao

  • All Known Implementing Classes:
    HibernateSearchableDao

    public interface SearchableDao
    Provides access to Searchable objects. Searchable is a marker interface over persistent classes (and is not in itself persistent).
    • Method Detail

      • getLatestSearchableHandlesGroupedByType

        List<List<HibernateHandle>> getLatestSearchableHandlesGroupedByType()
        Returns a list of latest searchable handles grouped by hibernate entity class. Each sublist is guaranteed to be one type.
        Returns:
        a list of latest searchable handles grouped by hibernate entity class. Each sublist is guaranteed to be one type.
        Since:
        5.2
      • getLatestSearchableHandles

        List<HibernateHandle> getLatestSearchableHandles​(Class clazz)
        Finds a list of handles for the specified class.
        Parameters:
        clazz - a hibernate entity class
        Since:
        5.2
      • getCountOfLatestSearchables

        int getCountOfLatestSearchables()
        Finds the count of all latest searchables.
        Since:
        5.2
      • getCountOfLatestSearchables

        int getCountOfLatestSearchables​(Class clazz)
        Finds the count of the latest searchables that implement the specified hibernate entity class.
        Parameters:
        clazz - a hibernate entity class
        Since:
        5.2