From users-return-11769-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Jul 03 13:44:04 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 19184 invoked from network); 3 Jul 2009 13:44:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jul 2009 13:44:04 -0000 Received: (qmail 1546 invoked by uid 500); 3 Jul 2009 13:44:13 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 1502 invoked by uid 500); 3 Jul 2009 13:44:13 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 1490 invoked by uid 99); 3 Jul 2009 13:44:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 13:44:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mreutegg@day.com designates 207.126.148.181 as permitted sender) Received: from [207.126.148.181] (HELO eu3sys201aog001.obsmtp.com) (207.126.148.181) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Jul 2009 13:44:04 +0000 Received: from source ([209.85.220.213]) by eu3sys201aob001.postini.com ([207.126.154.11]) with SMTP ID DSNKSk4LC7cjf5xreVmOsA4WVgCofU6yjGMn@postini.com; Fri, 03 Jul 2009 13:43:43 UTC Received: by fxm9 with SMTP id 9so2236464fxm.7 for ; Fri, 03 Jul 2009 06:43:39 -0700 (PDT) MIME-Version: 1.0 Sender: mreutegg@day.com Received: by 10.223.105.16 with SMTP id r16mr959472fao.24.1246628619526; Fri, 03 Jul 2009 06:43:39 -0700 (PDT) In-Reply-To: <200907020933.44443.tf@inubit.com> References: <200907020933.44443.tf@inubit.com> Date: Fri, 3 Jul 2009 15:43:39 +0200 X-Google-Sender-Auth: 7b8ce9bdd4300ff5 Message-ID: Subject: Re: Node.remove() From: Marcel Reutegger To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jul 2, 2009 at 09:33, Thomas Fromm wrote: > if I want to remove a node with all its versions, then I have to remove all > versions of this node with VersionHistory.removeVersion(..) and then remove > the node itself by calling Node.remove()? > > Or exist there an easier way? no, there is no other way. you have to do it manually as you described it. regards marcel