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