Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 88764 invoked from network); 9 Feb 2011 14:25:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2011 14:25:51 -0000 Received: (qmail 14325 invoked by uid 500); 9 Feb 2011 14:25:51 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 14305 invoked by uid 500); 9 Feb 2011 14:25: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 14297 invoked by uid 99); 9 Feb 2011 14:25:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 14:25:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carlo.camerino@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-iw0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 14:25:42 +0000 Received: by iwn6 with SMTP id 6so176764iwn.1 for ; Wed, 09 Feb 2011 06:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=4HZXs9/kJ8fy8Km201G+SsA8yqo35BXbg15sv0EnjDA=; b=NZ0GdKkUUgVmukya99nx65I8T2rAY53/Z2kpPOOeYOsZE6GbPxoJngYqrKOvbeVJ0b 7eeI6F6y3sowA9FwjMLzI6s+JTLSYrOZHYcuXOR+3dxsMihnF09g2OcXJqmJ/pa2qF7a GevYH8CFZxlwZP7jglw1xj6vRrUWUShrCgThM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XSXLbg51b9XWmrEEjK/LSyOC0a5mFxvOR6PCq/TcmdyBJm0ZGKg/Y5EjkhQydFb27m G0g2GOUAjNvc/FBfXMp+grjeeauXmir4cTJA0p0Ro+UlEMturXMYtkOLLP+j/SyH2Hhy U9IvNiQMdkxhgWOIWZ+C2XbKdeUEOEDlMEpTY= MIME-Version: 1.0 Received: by 10.42.175.6 with SMTP id ay6mr7897663icb.470.1297261522164; Wed, 09 Feb 2011 06:25:22 -0800 (PST) Received: by 10.42.228.136 with HTTP; Wed, 9 Feb 2011 06:25:22 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Feb 2011 22:25:22 +0800 Message-ID: Subject: Re: How Does Jack Rabbit Generate Its UUID From: Carlo Camerino To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e8f46359c90049bda3cbe --90e6ba6e8f46359c90049bda3cbe Content-Type: text/plain; charset=ISO-8859-1 is there anyway that I could relate this UUID to the filename? how does jackrabbit compute what file name to fetch based on the UUID attribute ? thanks On Wed, Feb 9, 2011 at 10:24 PM, Carlo Camerino wrote: > Hi, > > How does jackrabbit generate its UUID? > > jcr:uuid > > > /** > * Returns the UUID of this node as recorded in this node's > jcr:uuid > * property. This method only works on nodes of mixin node type > * mix:referenceable. On nonreferenceable nodes, this > method > * throws an UnsupportedRepositoryOperationException. To > avoid throwing an exception > * to determine whether a node has a UUID, a call to {@link > #isNodeType(String) isNodeType("mix:referenceable")} > * can be made. > > What are the ways by which I could get it? > Is it stored in the database somewhere? > > thanks > --90e6ba6e8f46359c90049bda3cbe--