jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tri...@apache.org>
Subject Re: How to delete/remove a file under Node?
Date Tue, 29 Apr 2014 16:25:05 GMT
Hi,

On Tue, Apr 29, 2014 at 5:31 AM, AshokBS <asiddaiah@altimetrik.com> wrote:
> Thanks Michael :) I will try this and let you know. I was interested only in
> removing the files under a node, but not the node itself.

theNode.getNode("file1").remove();
theNode.getSession().save();

regards, toby
>
>
>
> --
> View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-delete-remove-a-file-under-Node-tp4660786p4660788.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message