|
||||||||||
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 | ||
---|---|---|
java.util.List |
findAllPersistentObjects()
Finds all persistent objects. |
|
java.util.List<com.atlassian.bonnie.Handle> |
findAllPersistentObjectsHandles()
Finds handles for all persistent objects. |
|
java.util.List<TransientHibernateHandle> |
findAllPersistentObjectsHibernateHandles()
Finds handles for all persistent objects. |
|
java.lang.Object |
findByHandle(com.atlassian.bonnie.Handle handle)
Find a persistent object by its handle. |
|
java.util.List |
findByIdsAndClassName(java.util.List<java.lang.Long> ids,
java.lang.String className)
Find a list of objects from the same persistent class. |
|
java.lang.Object |
getByIdAndType(long id,
java.lang.Class type)
Find a persistent object by its id and type. |
|
java.lang.Class |
getPersistentClass()
|
|
|
removeAllPersistentObjectsByType(java.lang.Class<T> type)
Remove all of the persistent objects of the specified type |
|
void |
setExcludedClassesForRetrievingAllObjects(java.util.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 java.lang.Object findByHandle(com.atlassian.bonnie.Handle handle)
AnyTypeDao
findByHandle
in interface AnyTypeDao
handle
- the handle
public java.lang.Object getByIdAndType(long id, java.lang.Class type)
AnyTypeDao
getByIdAndType
in interface AnyTypeDao
public java.util.List findByIdsAndClassName(java.util.List<java.lang.Long> ids, java.lang.String className)
AnyTypeDao
findByIdsAndClassName
in interface AnyTypeDao
className
- the persistent class's fully qualified class name.public java.util.List findAllPersistentObjects()
AnyTypeDao
findAllPersistentObjects
in interface AnyTypeDao
public java.util.List<com.atlassian.bonnie.Handle> findAllPersistentObjectsHandles()
AnyTypeDao
findAllPersistentObjectsHandles
in interface AnyTypeDao
public java.util.List<TransientHibernateHandle> findAllPersistentObjectsHibernateHandles()
ExporterAnyTypeDao
findAllPersistentObjectsHibernateHandles
in interface ExporterAnyTypeDao
public java.lang.Class getPersistentClass()
public <T> int removeAllPersistentObjectsByType(java.lang.Class<T> type)
AnyTypeDao
removeAllPersistentObjectsByType
in interface AnyTypeDao
type
- the class of the persistent objects to remove
public void setExcludedClassesForRetrievingAllObjects(java.util.Set excludedClassesForRetrievingAllObjects)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |