|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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
public abstract class VersionedHibernateObjectDao
Field Summary | |
---|---|
protected com.atlassian.cache.CacheFactory |
cacheFactory
|
static org.apache.log4j.Category |
log
|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
VersionedHibernateObjectDao()
|
Method Summary | |
---|---|
java.util.List |
findAllSorted(java.lang.String sortField)
|
long |
findLatestVersionsCount()
Returns the number of results for the latest versions of the current persistent class. |
java.util.Iterator |
findLatestVersionsIterator()
Returns an iterator for the latest versions of the current persistent class. |
void |
save(com.atlassian.core.bean.EntityObject objectToSave,
com.atlassian.core.bean.EntityObject previousVersion)
|
void |
setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
|
protected void |
updateModificationData(com.atlassian.core.bean.EntityObject objectToSave)
|
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, getByClassId, index, refresh, reIndex, remove, 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, getPersistentClass, refresh, remove, replicate, save, saveRaw |
Field Detail |
---|
public static final org.apache.log4j.Category log
protected com.atlassian.cache.CacheFactory cacheFactory
Constructor Detail |
---|
public VersionedHibernateObjectDao()
Method Detail |
---|
public java.util.Iterator findLatestVersionsIterator()
VersionedObjectDao
findLatestVersionsIterator
in interface VersionedObjectDao
public long findLatestVersionsCount()
VersionedObjectDao
findLatestVersionsCount
in interface VersionedObjectDao
public java.util.List findAllSorted(java.lang.String sortField)
findAllSorted
in interface bucket.core.persistence.ObjectDao
findAllSorted
in class com.atlassian.hibernate.HibernateObjectDao
public void save(com.atlassian.core.bean.EntityObject objectToSave, com.atlassian.core.bean.EntityObject previousVersion)
save
in interface VersionedObjectDao
protected void updateModificationData(com.atlassian.core.bean.EntityObject objectToSave)
updateModificationData
in class com.atlassian.hibernate.HibernateObjectDao
public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |