directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lucas theisen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-165) Add a FilterBuillder
Date Thu, 29 Jan 2015 17:22:34 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297161#comment-14297161
] 

lucas theisen commented on DIRAPI-165:
--------------------------------------

I updated the site adding {{extensible()}}, and {{custom()}}...  However, now that I look
at it, I think {{custom()}} might be totally useless.  First, it was just something I came
up with as an extension point (not part of the RFC).  Second, the example I show with Muppets,
could be simpler if the {{MuppetFilter.muppet()}} returned a {{FilterBuilder}} instead of
a {{Filter}} then there would be no need to call {{custom( muppet )}} (which just wraps it
in a FilterBuilder}}...  So, before i remove it, do you want to weigh in?

> Add a FilterBuillder
> --------------------
>
>                 Key: DIRAPI-165
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-165
>             Project: Directory Client API
>          Issue Type: New Feature
>    Affects Versions: 1.0.0-M21
>            Reporter: lucas theisen
>            Priority: Minor
>             Fix For: 1.0.0-M29
>
>
> Looking for something Fluent, in the _spirit_ of Hibernate Criteria.  May not seem like
much, but can drastically reduce query syntax issues. Also, you would likely be using a StringBuilder
anyway, so its not much different. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message