Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-platform
Commit: 0ad50641721c1c01b842c6e22e5ac8ed7497bdb6
https://github.com/xwiki/xwiki-platform/commit/0ad50641721c1c01b842c6e22e5a…
Author: Pierre Jeanjean <pierre.jeanjean(a)xwiki.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
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications