Package org.apache.syncope.core.rest.data

Examples of org.apache.syncope.core.rest.data.SearchCondVisitor


        }
    }

    protected SearchCond getSearchCond(final String fiql) {
        try {
            SearchCondVisitor visitor = new SearchCondVisitor();
            SearchCondition<SearchBean> sc = searchContext.getCondition(fiql, SearchBean.class);
            sc.accept(visitor);

            return visitor.getQuery();
        } catch (Exception e) {
            LOG.error("Invalid FIQL expression: {}", fiql, e);

            SyncopeClientException sce = SyncopeClientException.build(ClientExceptionType.InvalidSearchExpression);
            sce.getElements().add(fiql);
View Full Code Here

TOP

Related Classes of org.apache.syncope.core.rest.data.SearchCondVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.