Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3 RC1
-
Fix Version/s: 1.4 M1
-
Component/s: {Unused} APIs, {Unused} Core
-
Labels:None
-
Similar issues:
Description
- Move the Criteria classes defined for the stats (Period, Scope, Interval, Duration) and their factories to a new com.xpn.xwiki.criteria package
- Rename Interval into Range as it's badly named I think
- Move the get*Factory() methods from com.xpn.api.StatsService into a com.xpn.api.CriteriaService class
- Add a getCriteriaService() method in XWiki
- Create a com.xpn.xwiki.criteria.RevisionCriteria class with createRevisionCriteria(author, Period, Range, isMinorEdit) + all other signatures without the parameters. For example: CreateRevisionCriteria() for all revisions for all authords, all periods, all range, etc.
- have Document.getRevisions use those criteria: getRevisions(RevisionCriteria)
Attachments
Issue Links
- blocks
-
XPWATCHLIST-15 In the email digests put the diff between "first revision since last notification" and "last revision"
-
- Closed
-