public class HibernateSearchableDao extends org.springframework.orm.hibernate.support.HibernateDaoSupport implements SearchableDao
Constructor and Description |
---|
HibernateSearchableDao() |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.bonnie.Handle> |
findAllSearchableHandles()
Gets handles for all
Searchable objects. |
List<com.atlassian.bonnie.Handle> |
findLatestSearchableHandles()
Gets a handle for (@link Searchable} objects, only returning the latest
version of objects that implement Versioned.
|
List<List<HibernateHandle>> |
getAllSearchablesGroupedByType()
Returns a grouped list of all searchables available.
|
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.
|
int |
getSearchableCount()
Gets the total number of
Searchable s. |
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 classpublic int getSearchableCount()
SearchableDao
Searchable
s.getSearchableCount
in interface SearchableDao
Searchable
s.public List<com.atlassian.bonnie.Handle> findAllSearchableHandles()
SearchableDao
Searchable
objects.findAllSearchableHandles
in interface SearchableDao
Handle
s.public List<com.atlassian.bonnie.Handle> findLatestSearchableHandles()
SearchableDao
findLatestSearchableHandles
in interface SearchableDao
Handle
spublic List<List<HibernateHandle>> getAllSearchablesGroupedByType()
SearchableDao
getAllSearchablesGroupedByType
in interface SearchableDao
Copyright © 2003–2016 Atlassian. All rights reserved.