|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.hibernate.HibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceGroupDao
public class HibernateSpaceGroupDao
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
|---|
cacheFactory, log |
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
HibernateSpaceGroupDao()
|
|
| Method Summary | |
|---|---|
int |
findSpaceTotal(SpaceGroup spaceGroup)
Fast way to count Spaces in a SpaceGroup without loading them. |
protected com.atlassian.core.bean.EntityObject |
getByClassId(long l)
|
SpaceGroup |
getById(long id)
|
java.lang.Class |
getPersistentClass()
|
SpaceGroup |
getSpaceGroup(java.lang.String spaceGroupKey)
first tries to fetch the spaceGroup from the cache by space id if not, fetch it from database |
void |
remove(com.atlassian.core.bean.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, setCacheFactory, updateModificationData |
| Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
|---|
findAll, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, index, refresh, reIndex, replicate, save, saveRaw, setIndexer, unIndex |
| 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 |
| Methods inherited from interface bucket.core.persistence.ObjectDao |
|---|
findAll, findAllSorted, refresh, replicate, save, saveRaw |
| Constructor Detail |
|---|
public HibernateSpaceGroupDao()
| Method Detail |
|---|
protected com.atlassian.core.bean.EntityObject getByClassId(long l)
getByClassId in class com.atlassian.hibernate.HibernateObjectDaopublic SpaceGroup getById(long id)
getById in interface SpaceGroupDaopublic SpaceGroup getSpaceGroup(java.lang.String spaceGroupKey)
getSpaceGroup in interface SpaceGroupDaospaceGroupKey - public int findSpaceTotal(SpaceGroup spaceGroup)
SpaceGroupDao
findSpaceTotal in interface SpaceGroupDaopublic void remove(com.atlassian.core.bean.EntityObject entity)
remove in interface bucket.core.persistence.ObjectDaoremove in class com.atlassian.hibernate.HibernateObjectDaoentity - public java.lang.Class getPersistentClass()
getPersistentClass in interface bucket.core.persistence.ObjectDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||