jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: Reading multivalues
Date Fri, 10 Nov 2006 11:56:28 GMT
you can retrieve the nodes via the Session.getNodeByUUID() method:

eg:

[...]
Value val = values[i];
Node target = session.getNodeByUUID(val.getString());
[...]

regards, toby

On 11/10/06, Ted Roeloffzen <ted.roeloffzen@gmail.com> wrote:
> I have a small program in which users are stored and a user has the
> property: Roles (REFERENCE) multiple
>
> Now I want to get these roles from the repository, but when I use
> getValues() the retrieve the array of value objects I can't retrieve the
> reference it holds.
>
> Does anybody have any idea how to do this?
>
> Ted
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message