Hi Fabio.
Fabio Mancinelli wrote:
since the 1.7 release has been delayed I would like to
propose to add 3
methods to the XMLRPC API. These methods are the following:
/* Returns a list of all the changed pages starting from a given date */
public List<XWikiPageHistorySummary> getModifiedPagesHistory(
Date date,
Integer numberOfResults,
Integer start,
Boolean fromLatest)
should (null, 0, 0, true) return all?
/* These are basically equivalent to original store
functions, but if
checkVersion is true then a check of the current page version is done
before storing the page/object. This check handles the case in which a
page has been modified by somebody else after the last getPage or
getObject */
public XWikiPage storePage(XWikiPage page, Boolean checkVersion)
public XWikiObject storeObject(XWikiObject object, Boolean checkVersion)
What the usecases for storePage(page, false) ?
Besides their usefulness there is also a rationale:
these are actually a
need for the Concerto project and it would be great to have them already
available in 1.7.
From the implementation point of view, these
methods have almost no
impact on the current code base and they are purely an
extension (i.e.,
no pre-existing critical code has been touched)
Here it is my +1
--
Artem Melentyev