Re: How Does Jack Rabbit Generate Its UUID

2011-02-09 Thread Michael Wechner
Hi Alex Thanks very much for this summary. Michael On 2/9/11 7:46 PM, Alexander Klimetschek wrote: On 09.02.11 15:45, "Michael Wechner" wrote: On 2/9/11 2:32 PM, Alexander Klimetschek wrote: On 09.02.11 15:25, "Carlo Camerino" wrote: is there anyway that I could relate this UUID to the

Re: How Does Jack Rabbit Generate Its UUID

2011-02-09 Thread Alexander Klimetschek
On 09.02.11 15:45, "Michael Wechner" wrote: >On 2/9/11 2:32 PM, Alexander Klimetschek wrote: >> On 09.02.11 15:25, "Carlo Camerino" wrote: >> >>> 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 >>> attribut

Re: How Does Jack Rabbit Generate Its UUID

2011-02-09 Thread Michael Wechner
On 2/9/11 2:32 PM, Alexander Klimetschek wrote: On 09.02.11 15:25, "Carlo Camerino" wrote: 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 ? Why do you want to do that? I could imagine applying J

Re: How Does Jack Rabbit Generate Its UUID

2011-02-09 Thread Carlo Camerino
the reason is, i need to get the filename based on the UUID. is there any code that i could use to get the contents of the file system for example, the UUID in my database is c658068c-d124-4aa7-83ce-5383e8f06a47 i would like to know which file in the fsDataStore it corresponds to? is there a

Re: How Does Jack Rabbit Generate Its UUID

2011-02-09 Thread Alexander Klimetschek
On 09.02.11 15:25, "Carlo Camerino" wrote: >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 ? Why do you want to do that? The generation of the UUID is implementation specific. You can get it with

Re: How Does Jack Rabbit Generate Its UUID

2011-02-09 Thread Carlo Camerino
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 > > > /** > * Retur

How Does Jack Rabbit Generate Its UUID

2011-02-09 Thread Carlo Camerino
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 UnsupportedRep