Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 32535 invoked from network); 2 Jul 2009 07:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 07:34:07 -0000 Received: (qmail 37126 invoked by uid 500); 2 Jul 2009 07:34:17 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 37084 invoked by uid 500); 2 Jul 2009 07:34:16 -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 37073 invoked by uid 99); 2 Jul 2009 07:34:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 07:34:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.61.69.133] (HELO watto.inubit.com) (213.61.69.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 07:34:06 +0000 Received: from localhost ([127.0.0.1]:59242) by watto.inubit.com with esmtp (Exim 4.68) (envelope-from ) id 1MMGnh-0006Ow-7N for users@jackrabbit.apache.org; Thu, 02 Jul 2009 09:33:45 +0200 X-Virus-Scanned: amavisd-new at mail.inubit.com Received: from watto.inubit.com ([127.0.0.1]) by localhost (mail.inubit.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id okhKqOEqaHOd for ; Thu, 2 Jul 2009 09:33:44 +0200 (CEST) Received: from bln-1-02.inubit.com ([213.61.69.130]:56517 helo=obelix.inubit.com) by watto.inubit.com with esmtp (Exim 4.68) (envelope-from ) id 1MMGng-0006Os-Sb for users@jackrabbit.apache.org; Thu, 02 Jul 2009 09:33:44 +0200 From: Thomas Fromm Organization: inubit AG To: users@jackrabbit.apache.org Subject: Node.remove() Date: Thu, 2 Jul 2009 09:33:44 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907020933.44443.tf@inubit.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, 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? --tf