From users-return-9362-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Oct 22 07:17:04 2008 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 5885 invoked from network); 22 Oct 2008 07:17:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2008 07:17:04 -0000 Received: (qmail 2569 invoked by uid 500); 22 Oct 2008 07:17:05 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 2549 invoked by uid 500); 22 Oct 2008 07:17:05 -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 2537 invoked by uid 99); 22 Oct 2008 07:17:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 00:17:05 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 212.27.42.36 is neither permitted nor denied by domain of herve.agnoux@diaam-informatique.com) Received: from [212.27.42.36] (HELO smtp6-g19.free.fr) (212.27.42.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 07:15:55 +0000 Received: from smtp6-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp6-g19.free.fr (Postfix) with ESMTP id D2A12172C2 for ; Wed, 22 Oct 2008 09:16:31 +0200 (CEST) Received: from [192.168.0.10] (met42-1-82-237-232-112.fbx.proxad.net [82.237.232.112]) by smtp6-g19.free.fr (Postfix) with ESMTP id B3783172B2 for ; Wed, 22 Oct 2008 09:16:31 +0200 (CEST) From: =?iso-8859-1?q?Herv=E9_Agnoux?= To: users@jackrabbit.apache.org Subject: Re: Please an exemple of registerNodeType Date: Wed, 22 Oct 2008 09:15:56 +0200 User-Agent: KMail/1.9.9 References: <200810212039.49262.herve.agnoux@diaam-informatique.com> <20097846.post@talk.nabble.com> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200810220915.56828.herve.agnoux@diaam-informatique.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le mardi 21 octobre 2008, Alexander Klimetschek a écrit : > The proper documentation can be found on the website: > > http://jackrabbit.apache.org/node-types.html > http://jackrabbit.apache.org/node-type-notation.html > > Google is your friend ;-) > I don't understand : I don't see exemples with NodeTypeManagerImpl.registerNodeType(NodeTypeDefinition ntd, boolean allowUpdate) in theses pages. Google confirms. (yes, it's my friend :-) I'm intersting by all the org.apache.jackrabbit.core.nodetype.jsr283 because I can (my impression) build a type of node without node type notation file. I'm interesting with this form of registerNodeType, because of it's with a NodeTypeDefinition (no node type notation file, I suppose), and the update functionality. Thanks.