Package org.ametys.cms.search.query
Class DateQuery
java.lang.Object
org.ametys.cms.search.query.AbstractOperatorQuery<AdaptableDate>
org.ametys.cms.search.query.AbstractDateOperatorQuery
org.ametys.cms.search.query.DateQuery
Represents a
Query testing a date field.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator -
Field Summary
Fields inherited from class org.ametys.cms.search.query.AbstractDateOperatorQuery
DATE_FORMATTERFields inherited from interface org.ametys.cms.search.query.Query
BOOL_FILTER, BOOL_MUST, BOOL_MUST_NOT, BOOL_SHOULD -
Constructor Summary
ConstructorsConstructorDescriptionBuild a DateQuery testing the existence of the field.Build a DateQuery.DateQuery(String fieldPath, Query.Operator op, LocalDate value) Build a DateQuery.DateQuery(String fieldPath, Query.Operator op, AdaptableDate value) Build a DateQuery.DateQuery(String fieldPath, AdaptableDate value) Build a DateQuery. -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractDateOperatorQuery
appendDateValue, buildMethods inherited from class org.ametys.cms.search.query.AbstractOperatorQuery
equals, getFieldName, getOperator, getValue, hashCode, rewrite, valueForQueryMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.cms.search.query.Query
buildAsJson, toString
-
Constructor Details
-
DateQuery
Build a DateQuery testing the existence of the field.- Parameters:
fieldPath- the field path.
-
DateQuery
Build a DateQuery.- Parameters:
fieldPath- the field's pathvalue- the value.
-
DateQuery
Build a DateQuery.- Parameters:
fieldPath- the field's pathvalue- the value.
-
DateQuery
Build a DateQuery.- Parameters:
fieldPath- the field's pathop- the operator.value- the value.
-
DateQuery
Build a DateQuery.- Parameters:
fieldPath- the field's pathop- the operator.value- the value.
-