Branch: refs/heads/stable-15.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: efc4f3836789ff9b8a94f975ccf5faba561b5a2e
https://github.com/xwiki/xwiki-platform/commit/efc4f3836789ff9b8a94f975ccf5…
Author: github-actions[bot]
<41898282+github-actions[bot](a)users.noreply.github.com>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/Document.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/criteria/impl/RevisionCriteriaFactory.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateVersioningStore.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiVersioningStoreInterface.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/hibernate/query/VersioningStoreQueryFactory.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/XWikiVersioningStoreInterfaceTest.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/hibernate/query/VersioningStoreQueryFactoryTest.java
Log Message:
-----------
XWIKI-21922: Introduce methods to fetch a subset of revisions in
XWikiVersioningStoreInterface
* Introduce default methods XWikiVersioningStoreInterface.getXWikiDocVersions and
XWikiVersioningStoreInterface.getXWikiDocVersionsCount, taking RevisionCriteria as
parameter
* Introduce implementations for both in XWikiHibernateVersioningStore
* Add XWikiDocument.getRevisionsCount and Document.getRevisionsCount
* Edit XWikiDocument.getRevisions(RevisionCriteria) to use the new method
* Move hibernate queries from XWikiHibernateVersioningStore to VersioningStoreQueryFactory
to even out class fan-out complexity
* Add new creation method to RevisionCriteriaFactory
(cherry picked from commit 0ad50641721c1c01b842c6e22e5ac8ed7497bdb6)
Co-authored-by: Pierre Jeanjean <pierre.jeanjean(a)xwiki.com>
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications