grouper-users - RE: Group Member Filter with composite groups
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Paul Gazda <>, Grouper Users Mailing List <>
- Subject: RE: Group Member Filter with composite groups
- Date: Tue, 7 Apr 2009 11:43:56 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
OK, I changed the doc in CVS so it says complement instead of
minus. Also, yes, for composite groups, All = Composite, and
Effective/Immediate will not return anything These web service operations are just exposing API methods, though
Im not sure they are entirely useful. What are you trying to do? Thanks, Chris From: Paul Gazda
[mailto:] Thanks for the
quick reply. First, a comment on the doc. I think that for consistency, the
reference to composite operators “composite operator (union, intersection, minus)” should be the same as those in the WsGroupDetail
bean that sets the values (UNION, COMPLEMENT, INTERSECTION). But I’m still
confused as to how this should work. From your revised doc and the results of
my testing, I am concluding that for composite groups:
Is that correct? Paul Gazda From: Chris Hyzer
[mailto:] Sorry, I think the javadoc is the culprit, this is what I
updated it to in CVS. Shilen, let me know if there is a better (or more
accurate) way to phrase it. Paul, let me know if you need anything else. Thanks, Chris /** retrieve all members (immediate, effective and composite) */ All, /** retrieve members which exist due a group as a member of another group */ Effective, /** return only direct members of a group */ Immediate, /** * if this is a composite group, then return all the memberships that match the * composite operator (union, intersection, minus) */ Composite; From: Paul Gazda
[mailto:] I am getting unexpected
results with GrouperClient 1.4.1 when using the memberFilter with getMembersWs.
This is what the javadoc for WsMemberFilter says in the Enum Constant Summary:
I set up a simple composite
group with a COMPLEMENT structure like this: ENT:pag4 (Composite group
with compositeType of COMPLEMENT) INC:pag4 (leftGroup with
these subject Ids as members): d9… 27… 72… EXC:pag4 (rightGroup with
these subject Ids as members): 72... When I query
--operation=getMembersWs --groupNames=ENT:pag4 --memberFilter=All, the result
is as expected: d9… 27… When I query
--operation=getMembersWs --groupNames=ENT:pag4 --memberFilter=Composite, I
would expect to get the uuids for INC:pag4 and EXC:pag4 and the math operator
COMPLEMENT, but I get the exact same result as above: d9… 27… When I query
--operation=getMembersWs --groupNames=ENT:pag4 --memberFilter=Effective, I
would expect to get the same results as “All”, but I get nothing. I have set up more
complicated structures where the composite members reference other composite
groups, and what stands out is that no matter what combinations I have, I
always get no results for either --memberFilter=Effective and
--memberFilter=Immediate. Based on the javadoc, I would expect that at least
one of those filters would return something. Am I not understanding how
this is supposed to work, or is there a bug? Paul Gazda |
- Group Member Filter with composite groups, Paul Gazda, 04/06/2009
- RE: Group Member Filter with composite groups, Chris Hyzer, 04/06/2009
- RE: Group Member Filter with composite groups, Paul Gazda, 04/07/2009
- RE: Group Member Filter with composite groups, Chris Hyzer, 04/07/2009
- RE: Group Member Filter with composite groups, Paul Gazda, 04/07/2009
- Re: [grouper-users] RE: Group Member Filter with composite groups, Tom Barton, 04/07/2009
- RE: [grouper-users] RE: Group Member Filter with composite groups, Paul Gazda, 04/07/2009
- Re: [grouper-users] RE: Group Member Filter with composite groups, Tom Barton, 04/07/2009
- RE: [grouper-users] RE: Group Member Filter with composite groups, Paul Gazda, 04/08/2009
- RE: [grouper-users] RE: Group Member Filter with composite groups, Paul Gazda, 04/07/2009
- Re: [grouper-users] RE: Group Member Filter with composite groups, Tom Barton, 04/07/2009
- RE: Group Member Filter with composite groups, Paul Gazda, 04/07/2009
- RE: Group Member Filter with composite groups, Chris Hyzer, 04/07/2009
- RE: Group Member Filter with composite groups, Paul Gazda, 04/07/2009
- RE: Group Member Filter with composite groups, Chris Hyzer, 04/06/2009
Archive powered by MHonArc 2.6.16.