com.atlassian.confluence.core.persistence
Interface VersionedObjectDao

All Superinterfaces:
ObjectDao
All Known Subinterfaces:
BlogPostDao, ContentDao, ContentEntityObjectDao, CustomContentDao, MailDao, PageDao, PageTemplateDao, SpacePermissionDao, UserStatusDao
All Known Implementing Classes:
AbstractHibernateAttachmentDao, CachingPageDao, ConfluenceHibernateObjectDao, ContentEntityObjectHibernateDao, ContentPermissionHibernateDao, DefaultContentDao, GenericHibernateVersionedObjectDao, HibernateBlogPostDao, HibernateCommentDao, HibernateLinkDao, HibernateMailDao, HibernateNotificationDao, HibernatePageDao, HibernatePageTemplateDao, HibernatePersonalInformationDao, HibernateReferralDao, HibernateSpaceDao, HibernateSpaceGroupDao, HibernateSpacePermissionDao, HibernateTrackbackDao, HibernateUserStatusDao, MigrationPageTemplateDao, NonTransactionalHibernateAttachmentDao, PluginContentHibernateDao, TransactionalHibernateAttachmentDao, VersionedHibernateObjectDao

public interface VersionedObjectDao
extends ObjectDao


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

Method Detail

save

void save(com.atlassian.core.bean.EntityObject currentObject,
          com.atlassian.core.bean.EntityObject originalObject)

findLatestVersionsIterator

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

Returns:
Iterator

findLatestVersionsCount

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

Returns:
a long representing the number of results


Copyright © 2003-2013 Atlassian. All Rights Reserved.