Interface VersionedObjectDao<T extends com.atlassian.core.bean.EntityObject>
-
- All Superinterfaces:
ObjectDao
- All Known Subinterfaces:
BlogPostDao,BlogPostDaoInternal,ContentDao,ContentDaoInternal,ContentEntityObjectDao<T>,ContentEntityObjectDaoInternal<T>,CustomContentDao,PageDao,PageDaoInternal,PageTemplateDao,SpacePermissionDao,VersionedObjectDaoInternal<T>
- All Known Implementing Classes:
AbstractContentEntityObjectHibernateDao,AbstractHibernateAttachmentDao,ConfluenceHibernateObjectDao,ContentEntityObjectHibernateDao,ContentPermissionHibernateDao,DefaultContentDao,DelegatingPageDao,HibernateAlertEntityDao,HibernateBlogPostDao,HibernateCommentDao,HibernateInternalRunDetailsDao,HibernateLinkDao,HibernateNotificationDao,HibernatePageDao,HibernatePageTemplateDao,HibernatePersonalInformationDao,HibernateSpaceDao,HibernateSpacePermissionDao,MigrationPageTemplateDao,NonTransactionalHibernateAttachmentDao,PluginContentHibernateDao,ReadThroughCachingPageDao,SchedulerClusteredJobDao,SchedulerRunDetailsDao,TransactionalHibernateAttachmentDao,VersionedHibernateObjectDao
@Transactional(readOnly=true) public interface VersionedObjectDao<T extends com.atlassian.core.bean.EntityObject> extends ObjectDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longfindLatestVersionsCount()Deprecated, for removal: This API element is subject to removal in a future version.since 8.6Iterator<T>findLatestVersionsIterator()Deprecated, for removal: This API element is subject to removal in a future version.since 8.6voidsave(com.atlassian.core.bean.EntityObject currentObject, com.atlassian.core.bean.EntityObject originalObject)Deprecated.since 6.10.0.-
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, findByClassIds, getPersistentClass, refresh, remove, replicate, save, saveRaw
-
-
-
-
Method Detail
-
save
@Deprecated @Transactional void save(com.atlassian.core.bean.EntityObject currentObject, com.atlassian.core.bean.EntityObject originalObject)
Deprecated.since 6.10.0. UseVersionedObjectDaoInternal.saveEntity(EntityObject, EntityObject)instead.Saves the given current object and historical object- Parameters:
currentObject- the current object.originalObject- the original object. This will be mutated to become a historical version as part of this save.
-
findLatestVersionsIterator
@Deprecated(forRemoval=true) Iterator<T> findLatestVersionsIterator()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.6Returns an iterator for the latest versions of the current persistent class.- Returns:
- Iterator
-
findLatestVersionsCount
@Deprecated(forRemoval=true) long findLatestVersionsCount()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.6Returns the number of results for the latest versions of the current persistent class.- Returns:
- a long representing the number of results
-
-