Class PlainQuerySearchParam
java.lang.Object
ch.tocco.nice2.rest.entity.spi.search.SearchParam
ch.tocco.nice2.rest.entity.spi.search.PlainQuerySearchParam
Represents a search param that contains a condition written in raw persist query language.
Name of the URL query parameter is "_where".
Example:
?where=firstname == "Andrea" and relGender.unique_id == "male"
Of course the parameter value needs to be URL encoded (i.e. spaces replaced by %20),
which has not been done in this example for the sake of readability.
-
Constructor Summary
ConstructorDescriptionPlainQuerySearchParam
(Condition condition) PlainQuerySearchParam
(Condition condition, boolean allowsInsecure) -
Method Summary
Methods inherited from class ch.tocco.nice2.rest.entity.spi.search.SearchParam
getOrderBy
-
Constructor Details
-
PlainQuerySearchParam
-
PlainQuerySearchParam
-
-
Method Details
-
getCondition
- Specified by:
getCondition
in classSearchParam
-
allowsInsecure
public boolean allowsInsecure()- Overrides:
allowsInsecure
in classSearchParam
-
equals
-
hashCode
public int hashCode() -
toString
-