public interface VersionedObjectDao<T extends com.atlassian.core.bean.EntityObject> extends ObjectDao
Modifier and Type | Method and Description |
---|---|
long |
findLatestVersionsCount()
Returns the number of results for the latest versions
of the current persistent class.
|
Iterator<T> |
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)
Deprecated.
since 6.10.0. Use
VersionedObjectDaoInternal.saveEntity(EntityObject, EntityObject) instead. |
findAll, findAllSorted, findAllSorted, findByClassIds, getPersistentClass, refresh, remove, replicate, save, saveRaw
@Deprecated void save(com.atlassian.core.bean.EntityObject currentObject, com.atlassian.core.bean.EntityObject originalObject)
VersionedObjectDaoInternal.saveEntity(EntityObject, EntityObject)
instead.currentObject
- the current object.originalObject
- the original object. This will be mutated to become a historical version as part of this save.Iterator<T> findLatestVersionsIterator()
long findLatestVersionsCount()
Copyright © 2003–2019 Atlassian. All rights reserved.