Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 44811 invoked from network); 14 May 2009 21:22:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 21:22:07 -0000 Received: (qmail 11429 invoked by uid 500); 14 May 2009 21:09:09 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 11416 invoked by uid 500); 14 May 2009 21:09:09 -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 11405 invoked by uid 99); 14 May 2009 21:09:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 21:09:08 +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 aklimets@day.com designates 207.126.148.183 as permitted sender) Received: from [207.126.148.183] (HELO eu3sys201aog003.obsmtp.com) (207.126.148.183) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 14 May 2009 21:08:53 +0000 Received: from source ([209.85.220.212]) by eu3sys201aob003.postini.com ([207.126.154.11]) with SMTP ID DSNKSgyITsXzSaQGV+BijxRA/UtY8STPduWS@postini.com; Thu, 14 May 2009 21:08:32 UTC Received: by fxm8 with SMTP id 8so1933769fxm.18 for ; Thu, 14 May 2009 14:08:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.243.9 with SMTP id v9mr1875660mur.5.1242335307857; Thu, 14 May 2009 14:08:27 -0700 (PDT) In-Reply-To: <90a8d1c00905130154q7a6490b4r28c1908b1c7af107@mail.gmail.com> References: <23486788.post@talk.nabble.com> <90a8d1c00905130154q7a6490b4r28c1908b1c7af107@mail.gmail.com> Date: Thu, 14 May 2009 14:08:27 -0700 Message-ID: Subject: Re: Node.getReferences() with offSet From: Alexander Klimetschek 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 Wed, May 13, 2009 at 1:54 AM, Stefan Guggisberg wrote: > On Mon, May 11, 2009 at 6:31 PM, hsp_ wrote: >> >> Hi; >> Is there some way that I could get the references with offSet and limit >> parameters? > > FWIW: > > Node#getReferences() returns a RangeIterator which provides a skip() method: > http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/RangeIterator.html#skip(long) Oh, thought that skip() only applies to query result node iterators. Does it make a difference for the references iterator? Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com