|
||||||||||
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.HibernateAnyTypeDao
public class HibernateAnyTypeDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateAnyTypeDao()
|
Method Summary | |
---|---|
List |
findAllPersistentObjects()
Finds all persistent objects. |
List<com.atlassian.bonnie.Handle> |
findAllPersistentObjectsHandles()
Finds handles for all persistent objects. |
List<TransientHibernateHandle> |
findAllPersistentObjectsHibernateHandles()
Finds handles for all persistent objects. |
Object |
findByHandle(com.atlassian.bonnie.Handle handle)
Find a persistent object by its handle. |
List |
findByIdsAndClassName(List<Long> ids,
String className)
Find a list of objects from the same persistent class. |
Object |
getByIdAndType(long id,
Class type)
Find a persistent object by its id and type. |
Class |
getPersistentClass()
|
void |
setExcludedClassesForRetrievingAllObjects(Set excludedClassesForRetrievingAllObjects)
|
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 HibernateAnyTypeDao()
Method Detail |
---|
public Object findByHandle(com.atlassian.bonnie.Handle handle)
AnyTypeDao
findByHandle
in interface AnyTypeDao
handle
- the handle
public Object getByIdAndType(long id, Class type)
AnyTypeDao
getByIdAndType
in interface AnyTypeDao
public List findByIdsAndClassName(List<Long> ids, String className)
AnyTypeDao
findByIdsAndClassName
in interface AnyTypeDao
className
- the persistent class's fully qualified class name.public List findAllPersistentObjects()
AnyTypeDao
findAllPersistentObjects
in interface AnyTypeDao
public List<com.atlassian.bonnie.Handle> findAllPersistentObjectsHandles()
AnyTypeDao
findAllPersistentObjectsHandles
in interface AnyTypeDao
public List<TransientHibernateHandle> findAllPersistentObjectsHibernateHandles()
ExporterAnyTypeDao
findAllPersistentObjectsHibernateHandles
in interface ExporterAnyTypeDao
public Class getPersistentClass()
public void setExcludedClassesForRetrievingAllObjects(Set excludedClassesForRetrievingAllObjects)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |