jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas José <douglasj...@gmail.com>
Subject Re: Browse Jackrabbit repository using UUID
Date Tue, 12 Oct 2010 15:27:53 GMT

If I got it right, you're asking if Jackrabbit already has a feature
to retrieve a node given an UUID, instead of a path,
once the entity you mention keeps a list of UUIDs to know which
documents are associated to it.
I believe Jackrabbit has no such feature, and I think you should
consider Alexander's suggestion and store the paths instead of the
UUIDs in your entity.
If for some reason you must keep using UUIDs, a servlet which
retrieves the UUID, resolves the correponding node and does a redirect
to its path should not be very complicated to implement.

Kind regards,


On Tue, Oct 12, 2010 at 16:48, kazim_ssuet@yahoo.com
<kazim_ssuet@yahoo.com> wrote:
> Hi Douglas,
> In my application there is a webpage that displays list of associated
> documents to an entity. That list can be fetched using path to the
> JcrConstants.NT_FOLDER node in jackrabbit repository for the particular
> entity.
> Now, on the web page that lists all associated documents, a user can click
> on one of the documents and it should open in a browser popup window. Since
> jackrabit server already provides http access and it renders document
> according to it's mime type I don't have to do all that...All i need to do
> is to create a url to use as href tag on the document link....On that hyper
> link, I would like to fetch document using http url that uses UUID instead
> of path.
> So, I was wondering if there is a way to access a document in browser window
> using UUID...something like this
> http://localhost:8080/repository/default/uuid_of_document
> Let me know if you need more info.
> --
> View this message in context: http://jackrabbit.510166.n4.nabble.com/Browse-Jackrabbit-repository-using-UUID-tp2990730p2992057.html
> Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

Douglas Jose

- "Use free software. Help us make a free world."

View raw message