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 08:38:46 GMT
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?

Thanks very much in advance for clarifying

Michael
>
> Best regards, Julian


Mime
View raw message