grouper-dev - Re: [grouper-dev] finding groups by attribute value with wildcards
Subject: Grouper Developers Forum
List archive
- From: Tom Zeller <>
- To: Chris Hyzer <>
- Cc: Grouper Dev <>
- Subject: Re: [grouper-dev] finding groups by attribute value with wildcards
- Date: Thu, 4 Feb 2010 09:26:03 -0600
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=hBCXwZF1xhSr3cKASaZ5CuFtDIeaAM8MgmDEdiqNiLjrjcZ04EwtnSwaPAPcv5SAbH j2i+APPGYjXLFt+VNmqBwFRAcb2+ePOfFZ+Y5rD3n9q7l/SXYSuKEA+/6LE22xJ+dcB7 f9Zaun70GoSWLsmrcu4tO+7h4iPKLVqutqmig=
I think the scope still needs the "%", right ?
On Thu, Jan 28, 2010 at 11:19 PM, Chris Hyzer
<>
wrote:
> 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
>
- Re: [grouper-dev] finding groups by attribute value with wildcards, Tom Zeller, 02/04/2010
- RE: [grouper-dev] finding groups by attribute value with wildcards, Chris Hyzer, 02/04/2010
- Re: [grouper-dev] finding groups by attribute value with wildcards, Tom Zeller, 02/04/2010
- RE: [grouper-dev] finding groups by attribute value with wildcards, Chris Hyzer, 02/04/2010
Archive powered by MHonArc 2.6.16.