the title of this proposal is pretty much self-explanatory: right now we have a class
DocumentVersionReference whose goal is to declare a reference to a specific document version which is an API exposed in
xwiki-platform-extension-handler-xar module under
IMO this API should be part of the model since it’s a common UC to needs a reference to a specific document version. As a matter of fact, I’m opening this proposal today because I have the need in an extension I’m working on, and I was being re-inventing the wheel.
Now moving the API to another module is easy, but moving it to another package will involve some addition for backward compatibility support.
So I propose to make the following changes:
- Move DocumentVersionReference class to
org.xwiki.extension.xar.job.diff.DocumentVersionReferenceand move it to a legacy module