Class SearchCondVisitor
- java.lang.Object
-
- org.apache.cxf.jaxrs.ext.search.visitor.AbstractSearchConditionVisitor<org.apache.cxf.jaxrs.ext.search.SearchBean,SearchCond>
-
- org.apache.syncope.core.persistence.api.search.SearchCondVisitor
-
- All Implemented Interfaces:
org.apache.cxf.jaxrs.ext.search.SearchConditionVisitor<org.apache.cxf.jaxrs.ext.search.SearchBean,SearchCond>
public class SearchCondVisitor extends org.apache.cxf.jaxrs.ext.search.visitor.AbstractSearchConditionVisitor<org.apache.cxf.jaxrs.ext.search.SearchBean,SearchCond>
Visits CXF'sSearchBean
and producesSearchCond
.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ThreadLocal<String>
REALM
protected static ThreadLocal<SearchCond>
SEARCH_COND
-
Constructor Summary
Constructors Constructor Description SearchCondVisitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static AttrCond
createAttrCond(String schema)
protected static org.apache.cxf.jaxrs.ext.search.ConditionType
getConditionType(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
SearchCond
getQuery()
protected static String
getValue(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
void
setRealm(String realm)
void
visit(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
protected SearchCond
visitCompound(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
protected SearchCond
visitPrimitive(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
-
Methods inherited from class org.apache.cxf.jaxrs.ext.search.visitor.AbstractSearchConditionVisitor
getFieldTypeConverter, getPrimitiveFieldClass, getPrimitiveFieldClass, getPrimitiveFieldClass, getRealPropertyName, isWildcardStringMatch, setFieldTypeConverter, setPrimitiveFieldTypeMap, setValidator, setWildcardStringMatch, validatePropertyValue, visitor
-
-
-
-
Field Detail
-
REALM
protected static final ThreadLocal<String> REALM
-
SEARCH_COND
protected static final ThreadLocal<SearchCond> SEARCH_COND
-
-
Method Detail
-
setRealm
public void setRealm(String realm)
-
getValue
protected static String getValue(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
-
getConditionType
protected static org.apache.cxf.jaxrs.ext.search.ConditionType getConditionType(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
-
visitPrimitive
protected SearchCond visitPrimitive(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
-
visitCompound
protected SearchCond visitCompound(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
-
visit
public void visit(org.apache.cxf.jaxrs.ext.search.SearchCondition<org.apache.cxf.jaxrs.ext.search.SearchBean> sc)
-
getQuery
public SearchCond getQuery()
-
-