You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Philipp Bunge <bu...@crimson.ch> on 2010/02/16 15:37:14 UTC
Session.copy
Hi All
Out of curiosity, where is there no Session.copy method in JCR specification?
There's a Workspace.move and a Session.move but only a Workspace.copy.
Cheers,
Philipp
Re: Session.copy
Posted by Alexander Klimetschek <ak...@day.com>.
On Tue, Feb 16, 2010 at 15:37, Philipp Bunge <bu...@crimson.ch> wrote:
> Out of curiosity, where is there no Session.copy method in JCR specification?
> There's a Workspace.move and a Session.move but only a Workspace.copy.
It can be easily done by the application, ie. a utility method that
copies over nodes and properties recursively. This would be a
convenience method only, hence it is not part of the JCR spec.
See also http://markmail.org/message/6x7by2mmkbpij5e5
Regards,
Alex
--
Alexander Klimetschek
alexander.klimetschek@day.com