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] [Closed] (DIRSERVER-1941) Add a FilterBuillder
Date Thu, 19 Dec 2013 16:12:09 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

lucas theisen closed DIRSERVER-1941.
------------------------------------

    Resolution: Invalid

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)

Mime
View raw message