|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate.support.HibernateDaoSupport com.atlassian.confluence.core.persistence.hibernate.HibernateSearchableDao
public class HibernateSearchableDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateSearchableDao()
|
Method Summary | |
---|---|
java.util.List<com.atlassian.bonnie.Handle> |
findAllSearchableHandles()
Gets handles for all Searchable objects. |
java.util.List<com.atlassian.bonnie.Handle> |
findLatestSearchableHandles()
Gets a handle for (@link Searchable} objects, only returning the latest version of objects that implement Versioned. |
java.util.List<java.util.List<HibernateHandle>> |
getAllSearchablesGroupedByType()
Returns a grouped list of all searchables available. |
int |
getCountOfLatestSearchables()
Finds the count of all latest searchables. |
int |
getCountOfLatestSearchables(java.lang.Class clazz)
Finds the count of the latest searchables that implement the specified hibernate entity class. |
java.util.List<HibernateHandle> |
getLatestSearchableHandles(java.lang.Class clazz)
Finds a list of handles for the specified class. |
java.util.List<java.util.List<HibernateHandle>> |
getLatestSearchableHandlesGroupedByType()
Returns a list of latest searchable handles grouped by hibernate entity class. |
int |
getSearchableCount()
Gets the total number of Searchable s. |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HibernateSearchableDao()
Method Detail |
---|
public java.util.List<java.util.List<HibernateHandle>> getLatestSearchableHandlesGroupedByType()
SearchableDao
getLatestSearchableHandlesGroupedByType
in interface SearchableDao
public java.util.List<HibernateHandle> getLatestSearchableHandles(java.lang.Class clazz)
SearchableDao
getLatestSearchableHandles
in interface SearchableDao
clazz
- a hibernate entity classpublic int getCountOfLatestSearchables()
SearchableDao
getCountOfLatestSearchables
in interface SearchableDao
public int getCountOfLatestSearchables(java.lang.Class clazz)
SearchableDao
getCountOfLatestSearchables
in interface SearchableDao
clazz
- a hibernate entity classpublic int getSearchableCount()
SearchableDao
Searchable
s.
getSearchableCount
in interface SearchableDao
Searchable
s.public java.util.List<com.atlassian.bonnie.Handle> findAllSearchableHandles()
SearchableDao
Searchable
objects.
findAllSearchableHandles
in interface SearchableDao
Handle
s.public java.util.List<com.atlassian.bonnie.Handle> findLatestSearchableHandles()
SearchableDao
findLatestSearchableHandles
in interface SearchableDao
Handle
spublic java.util.List<java.util.List<HibernateHandle>> getAllSearchablesGroupedByType()
SearchableDao
getAllSearchablesGroupedByType
in interface SearchableDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |