jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: Accessing the version history of a deleted node
Date Thu, 16 Jan 2014 16:38:41 GMT
Am 16.01.14 09:38, schrieb Michael Wechner:
> Hi Julian
>
> thanks very much for your feedback. Please see my comments and questions
> inline below
>
> Am 15.01.14 21:37, schrieb Julian Reschke:
>> On 2014-01-15 20:45, Michael Wechner wrote:
>>> Hi
>>>
>>> I have reading
>>>
>>> http://www.day.com/specs/jcr/2.0/15_Versioning.html
>>>
>>> but it's not really clear to me whether it is possible to access the
>>> version history of a deleted node?
>>>
>>> Let's say I am creating a node at
>>>
>>> /foo/bar/hello-world.txt
>>>
>>> and edit the content associated with this node several times and hence
>>> create a version history.
>>> At some point I am deleting this node. Is this the reason why the
>>> following API exists:
>>>
>>> VersionHistory VersionManager.getVersionHistory(String absPath)
>> 1) Whether the version information survives the deletion of the node
>> depends on the implementation. I believe it does in Jackrabbit.
> ok
>> 2) To *access* it, you'll need to have the identifier or the path of
>> the version history.
> so that does not have to be the path of the node?

just re-read the spec and there it says

" where absPath is the absolute path to the node"

Thanks

Michael
>
> Thanks very much in advance for clarifying
>
> Michael
>> Best regards, Julian


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message