grouper-dev - RE: [grouper-dev] finding groups by attribute value with wildcards
Subject: Grouper Developers Forum
List archive
- From: Chris Hyzer <>
- To: Tom Zeller <>, Grouper Dev <>
- Subject: RE: [grouper-dev] finding groups by attribute value with wildcards
- Date: Fri, 29 Jan 2010 00:19:36 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
Sounds good to me, Id vote for an overload with a boolean which specifies
whether percents are added or not (which would be those two, and the stem
scope one)... then we can reuse the logic/query. But if you disagree, feel
free to make another duplicate method.
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Tom Zeller
Sent: Thursday, January 28, 2010 11:44 AM
To: Grouper Dev
Subject: [grouper-dev] finding groups by attribute value with wildcards
I'd like to find groups using a query "... like value" where I can
specify wildcards in the value.
The Hib3GroupDAO method findAllByApproximateAttr uses "like %value%",
and findAllByAttr uses "= value", but what I need is "like value".
I don't see such a method, is there one ? I'll offer to do the work,
does this sound reasonable ?
My use case is that I'm checking our mail namespace for uniqueness. We
store email addresses as attributes, e.g.
"",
and I
want to find groups based on the mail left-hand-side of the @. The
mail right-hand-sides of the @ are variable and dynamic.
Thanks,
TomZ
- finding groups by attribute value with wildcards, Tom Zeller, 01/28/2010
- RE: [grouper-dev] finding groups by attribute value with wildcards, Chris Hyzer, 01/29/2010
Archive powered by MHonArc 2.6.16.