Interface VersionedObjectDao<T extends com.atlassian.core.bean.EntityObject>

    • Method Detail

      • save

        @Deprecated
        @Transactional
        void save​(com.atlassian.core.bean.EntityObject currentObject,
                  com.atlassian.core.bean.EntityObject originalObject)
        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

        Iterator<T> 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