jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Guillaume ...@nuxeo.com>
Subject Re: Restoring from version
Date Thu, 29 Jun 2006 16:23:07 GMT
On 29 Jun 2006, at 18:17, Florent Guillaume wrote:
> I have a node D which has versions V1, V2 in its version history.
> I have a node P (proxy) which has a reference to V2.
> I then delete D from my workspace. There is no node with D's UUID  
> anymore.
> From P and the reference to V2, how can I restore D at its V2 state?
> I'm not finding any API that would help me do this directly.

Well of course 2 min after sending this I finally realized we have:
  restore(Version version, String relPath, boolean removeExisting)

Which does it... sorry.


Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg@nuxeo.com

View raw message