You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "lucas theisen (JIRA)" <ji...@apache.org> on 2013/12/19 17:12:09 UTC

[jira] [Commented] (DIRSERVER-1941) Add a FilterBuillder

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

lucas theisen commented on DIRSERVER-1941:
------------------------------------------

Submitted to the wrong project.

> Add a FilterBuillder
> --------------------
>
>                 Key: DIRSERVER-1941
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1941
>             Project: Directory ApacheDS
>          Issue Type: New Feature
>          Components: ldap
>    Affects Versions: 2.0.0-M16
>            Reporter: lucas theisen
>
> Looking for something Fluent, in the _spirit_ of Hibernate Criteria.  My own version looks something like this:
> FilterBuilder.and( FilterBuilder.equals( MAIL_AT, "*@example.com" ), FilterBuilder.notEqualTo( CN_AT, "test" ) ).build();
> 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.1.4#6159)