|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.hibernate.HibernateObjectDao
bucket.core.persistence.hibernate.CachableHibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceGroupDao
Field Summary |
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
log |
Fields inherited from class bucket.core.persistence.hibernate.CachableHibernateObjectDao |
cacheManager |
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
logger |
Constructor Summary | |
HibernateSpaceGroupDao()
|
Method Summary | |
int |
findSpaceTotal(SpaceGroup spaceGroup)
Fast way to count Spaces in a SpaceGroup without loading them. |
protected EntityObject |
getByClassId(long l)
|
SpaceGroup |
getById(long id)
|
Class |
getPersistentClass()
|
SpaceGroup |
getSpaceGroup(String spaceGroupKey)
first tries to fetch the spaceGroup from the cache by space id if not, fetch it from database |
void |
remove(EntityObject entity)
Override the parent remove method as we want to remove the object out of the cache as well |
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao |
findByQuery |
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, updateModificationData |
Methods inherited from class bucket.core.persistence.hibernate.CachableHibernateObjectDao |
setCacheManager |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bucket.core.persistence.ObjectDao |
findAll, findAllSorted, refresh, replicate, save, saveRaw |
Constructor Detail |
public HibernateSpaceGroupDao()
Method Detail |
protected EntityObject getByClassId(long l)
public SpaceGroup getById(long id)
getById
in interface SpaceGroupDao
public SpaceGroup getSpaceGroup(String spaceGroupKey)
getSpaceGroup
in interface SpaceGroupDao
spaceGroupKey
- public int findSpaceTotal(SpaceGroup spaceGroup)
SpaceGroupDao
findSpaceTotal
in interface SpaceGroupDao
public void remove(EntityObject entity)
remove
in interface ObjectDao
entity
- public Class getPersistentClass()
getPersistentClass
in interface ObjectDao
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |