You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2013/12/06 11:07:36 UTC

[jira] [Updated] (CXF-5438) Allow FiqlSearchConditionBuilder extension

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

Francesco Chicchiriccò updated CXF-5438:
----------------------------------------

    Attachment: CXF-5438.patch

Patch for easy subclassing of {{FiqlSearchConditionBuilder}}.

> Allow FiqlSearchConditionBuilder extension
> ------------------------------------------
>
>                 Key: CXF-5438
>                 URL: https://issues.apache.org/jira/browse/CXF-5438
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 3.0.0-milestone1
>            Reporter: Francesco Chicchiriccò
>            Priority: Minor
>              Labels: search
>         Attachments: CXF-5438.patch
>
>
> I want to migrate some existing JAX-RS search services to FIQL, but since there is no direct mapping from few existing constructs to FIQL's, I need to introduce some special parameters, for example
> $roles==1
> which match users with role 1 or
> $resources = activeDirectory
> which match users assigned to the external resource 'activeDirectrory' or
> surname!=$null
> which match users with not-null surname.
> I am providing my own implementation of {{SearchConditionVisitor}} for server-side translation from FIQL to my existing format but I would also like to provide a builder capable to nicely handle such 'additions' to standard FIQL.



--
This message was sent by Atlassian JIRA
(v6.1#6144)