jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: getting the latest version of a checkedout node
Date Wed, 06 Sep 2006 17:21:27 GMT
you're probably looking for:

Node.restore(node.getBaseVersion());

regards, toby

On 9/6/06, J Kuijpers <japquip@hotmail.com> wrote:
>
> Hello, when the property jcr:isCheckedOut of a node is true, I want to
> retrieve this node without the changes which are possibly made during the
> checkout state. So I want to retrieve the node as it was, when it was last
> checked in. Only when the checkedout node is checkedin the changes are final
> so then I want to retrieve the node with ithe changes.
>
> Is this possible? If so, how would I achieve this? I am looking at the
> frozennode property, am I on the right track?
> --
> View this message in context: http://www.nabble.com/getting-the-latest-version-of-a-checkedout-node-tf2227841.html#a6173979
> Sent from the Jackrabbit - Dev forum at Nabble.com.
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message