Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89F16932C for ; Thu, 19 Apr 2012 14:18:50 +0000 (UTC) Received: (qmail 154 invoked by uid 500); 19 Apr 2012 14:18:50 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 99862 invoked by uid 500); 19 Apr 2012 14:18:49 -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 99851 invoked by uid 99); 19 Apr 2012 14:18:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 14:18:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of julian.reschke@gmx.de designates 213.165.64.22 as permitted sender) Received: from [213.165.64.22] (HELO mailout-de.gmx.net) (213.165.64.22) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Apr 2012 14:18:39 +0000 Received: (qmail invoked by alias); 19 Apr 2012 14:18:19 -0000 Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp072) with SMTP; 19 Apr 2012 16:18:19 +0200 X-Authenticated: #1915285 X-Provags-ID: V01U2FsdGVkX1/uh3pPxmruN81iaUHBqZxFEuefzgdsOVULk0X9Uc 3UV1HtKbWWk9pB Message-ID: <4F901EAA.2050706@gmx.de> Date: Thu, 19 Apr 2012 16:18:18 +0200 From: Julian Reschke User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: users@jackrabbit.apache.org CC: Gonzalo Vasquez Subject: Re: Problem retrieving NodeId (SPI) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 On 2012-04-18 16:53, Gonzalo Vasquez wrote: > I'm trying to use the org.apache.jackrabbit.spi.Batch class methods > provided by the SPI package (jackrabbit-spi-2.4.1.jar), but I'm having > trouble discovering how to get the NodeId param as the one it needs is > from the spi package, not from the core one. Some Helper / Factory class > perhaps? > > Any ideas would be appreciated! > > Regards, > ... The Batch class is needed to implement write operations in an SPI implementation. In which case, you should be using spi.NodeIds all over the place... Can you clarify what you're trying to do? Best regards, Julian