Interface SearchableDao
-
- All Known Implementing Classes:
HibernateSearchableDao
public interface SearchableDao
Provides access toSearchable
objects.Searchable
is a marker interface over persistent classes (and is not in itself persistent).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCountOfLatestSearchables()
Finds the count of all latest searchables.int
getCountOfLatestSearchables(Class clazz)
Finds the count of the latest searchables that implement the specified hibernate entity class.List<HibernateHandle>
getLatestSearchableHandles(Class clazz)
Finds a list of handles for the specified class.List<List<HibernateHandle>>
getLatestSearchableHandlesGroupedByType()
Returns a list of latest searchable handles grouped by hibernate entity class.
-
-
-
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
-
-