public class HibernateSearchableDao extends Object implements SearchableDao
Constructor and Description |
---|
HibernateSearchableDao(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and 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.
|
public HibernateSearchableDao(org.hibernate.SessionFactory sessionFactory)
public List<List<HibernateHandle>> getLatestSearchableHandlesGroupedByType()
SearchableDao
getLatestSearchableHandlesGroupedByType
in interface SearchableDao
public List<HibernateHandle> getLatestSearchableHandles(Class clazz)
SearchableDao
getLatestSearchableHandles
in interface SearchableDao
clazz
- a hibernate entity classpublic int getCountOfLatestSearchables()
SearchableDao
getCountOfLatestSearchables
in interface SearchableDao
public int getCountOfLatestSearchables(Class clazz)
SearchableDao
getCountOfLatestSearchables
in interface SearchableDao
clazz
- a hibernate entity classCopyright © 2003–2021 Atlassian. All rights reserved.