This content has been marked as final.
Show 3 replies
-
1. Re: Identity Service API
tom.baeyens Jan 31, 2008 4:22 AM (in response to pierre.vigneras)i'm ok if you add User.getMembership() and User.setMembership()
for setMembership(User user, Group group), i would prefer something like setMembership(String userId, String groupId); Otherwise, the user will have to lookup the User and Group objects, resulting in potentially 3 transactions depending on the environment. -
2. Re: Identity Service API
mvaldes Feb 1, 2008 6:23 AM (in response to pierre.vigneras)I agree with Tom in this one :-) I also prefer the use of Ids than the objects as parameters (this also applies to the extensions Facade, i.e the XPDL facade).
Pierre, could you proceed with those additions in the identity module please ?
regards,
Miguel Valdes -
3. Re: Identity Service API
tom.baeyens Feb 4, 2008 5:02 AM (in response to pierre.vigneras)"I also prefer the use of Ids than the objects as parameters"
thanks.
just for the record. return values are different. they can/should be the real objects.