jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject [j3 Microkernel] commit method
Date Fri, 09 Dec 2011 14:13:18 GMT

Hi,

Currently the commit method look like this:

String commit(String path, String jsonDiff, String revisionId, String 
message)

The path argument has to be an absolute path and the paths of the 
jsonDiff operations are relative paths. The target path of the 
operations are determined by concatenating the path with the paths of 
the jsonDiff operations.

To facilitate the usage of this API where only absolute paths are 
involved, I suggest to expand the scope of the commit method such that 
the empty string (or null?) is allowed for the path argument. In this 
case all jsonDiff operations need to specify an absolute path.

Michael

Mime
View raw message