com.atlassian.confluence.core.persistence
Interface VersionedObjectDao

All Superinterfaces:
ObjectDao
All Known Subinterfaces:
BlogPostDao, ContentEntityObjectDao, MailDao, PageDao, PageTemplateDao, SpacePermissionDao
All Known Implementing Classes:
ContentEntityObjectHibernateDao, HibernateBlogPostDao, HibernateMailDao, HibernatePageDao, HibernatePageTemplateDao, HibernateSpacePermissionDao, VersionedHibernateObjectDao

public interface VersionedObjectDao
extends ObjectDao


Method Summary
 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 currentObject, EntityObject originalObject)
           
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

save

public void save(EntityObject currentObject,
                 EntityObject originalObject)

findLatestVersionsIterator

public Iterator findLatestVersionsIterator()
Returns an iterator for the latest versions of the current persistent class.

Returns:
Iterator

findLatestVersionsCount

public long findLatestVersionsCount()
Returns the number of results for the latest versions of the current persistent class.

Returns:
a long representing the number of results


Confluence is developed by Atlassian.