Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 30510 invoked from network); 7 May 2008 17:59:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 17:59:18 -0000 Received: (qmail 24039 invoked by uid 500); 7 May 2008 17:59:18 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 24009 invoked by uid 500); 7 May 2008 17:59:18 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 23976 invoked by uid 99); 7 May 2008 17:59:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 10:59:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 17:58:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ED46E234C111 for ; Wed, 7 May 2008 10:58:55 -0700 (PDT) Message-ID: <1392613278.1210183135970.JavaMail.jira@brutus> Date: Wed, 7 May 2008 10:58:55 -0700 (PDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1405) SPI: Introduce NodeInfo.getChildInfos() In-Reply-To: <890110651.1203599479619.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1405?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig updated JCR-1405: ------------------------------- Attachment: JCR-1405b.patch Patch updated to latest revision > SPI: Introduce NodeInfo.getChildInfos() > --------------------------------------- > > Key: JCR-1405 > URL: https://issues.apache.org/jira/browse/JCR-1405 > Project: Jackrabbit > Issue Type: New Feature > Components: jackrabbit-spi > Reporter: angela > Attachments: JCR-1405.patch, JCR-1405b.patch > > > Improvement suggested by Marcel: > ChildInfo is basically a stripped down NodeInfo. With little effort it wo= uld even be possible to have NodeInfo extends ChildInfo. Not sure how usefu= l that is, but since we don't have that inheritance in code and at the same= time nearly a 100% overlap it makes me suspicious. > Here's another idea: > introduce a method ChildInfo[] NodeInfo.getChildInfos(). The method eithe= r returns: > - all child infos, which also gives the correct number of child nodes. th= is may also mean that an empty array is returned to indicate there are no c= hild nodes. > - null, to indicate that there are *lots* of child nodes and the method R= epositoryService.getChildInfos() with the iterator should be used.=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.