jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlo Camerino <carlo.camer...@gmail.com>
Subject Re: How Does Jack Rabbit Generate Its UUID
Date Wed, 09 Feb 2011 14:25:22 GMT
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 <carlo.camerino@gmail.com>wrote:

> Hi,
>
> How does jackrabbit generate its UUID?
>
> jcr:uuid
>
>
>   /**
>      * Returns the UUID of this node as recorded in this node's
> <code>jcr:uuid</code>
>      * property. This method only works on nodes of mixin node type
>      * <code>mix:referenceable</code>. On nonreferenceable nodes, this
> method
>      * throws an <code>UnsupportedRepositoryOperationException</code>. 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message