com.atlassian.confluence.core.persistence.hibernate
Class HibernateAnyTypeDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.confluence.core.persistence.hibernate.HibernateAnyTypeDao
- All Implemented Interfaces:
- AnyTypeDao, org.springframework.beans.factory.InitializingBean
public class HibernateAnyTypeDao
- extends org.springframework.orm.hibernate.support.HibernateDaoSupport
- implements AnyTypeDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
HibernateAnyTypeDao
public HibernateAnyTypeDao()
findByHandle
public java.lang.Object findByHandle(com.atlassian.bonnie.Handle handle)
- Description copied from interface:
AnyTypeDao
- Find a persistent object by its handle.
- Specified by:
findByHandle
in interface AnyTypeDao
- Parameters:
handle
- the handle
- Returns:
- a persistent object by its handle.
getByIdAndType
public java.lang.Object getByIdAndType(long id,
java.lang.Class type)
- Description copied from interface:
AnyTypeDao
- Find a persistent object by its id and type.
- Specified by:
getByIdAndType
in interface AnyTypeDao
- Returns:
- a persistent object by its handle.
findByIdsAndClassName
public java.util.List findByIdsAndClassName(java.util.List<java.lang.Long> ids,
java.lang.String className)
- Description copied from interface:
AnyTypeDao
- Find a list of objects from the same persistent class.
- Specified by:
findByIdsAndClassName
in interface AnyTypeDao
className
- the persistent class's fully qualified class name.
findAllPersistentObjects
public java.util.List findAllPersistentObjects()
- Description copied from interface:
AnyTypeDao
- Finds all persistent objects.
- Specified by:
findAllPersistentObjects
in interface AnyTypeDao
- Returns:
- all persistent objects.
findAllPersistentObjectsHandles
public java.util.List<com.atlassian.bonnie.Handle> findAllPersistentObjectsHandles()
- Description copied from interface:
AnyTypeDao
- Finds handles for all persistent objects.
- Specified by:
findAllPersistentObjectsHandles
in interface AnyTypeDao
- Returns:
- handles for all persistent objects.
getPersistentClass
public java.lang.Class getPersistentClass()
setExcludedClassesForRetrievingAllObjects
public void setExcludedClassesForRetrievingAllObjects(java.util.Set excludedClassesForRetrievingAllObjects)
Copyright © 2003-2011 Atlassian. All Rights Reserved.