Package org.ametys.cms.search.query
Class LastMajorValidationDateQuery
java.lang.Object
org.ametys.cms.search.query.LastMajorValidationDateQuery
- All Implemented Interfaces:
Query
Represents a
Query
testing the last major validation date of a content.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Field Summary
Modifier and TypeFieldDescriptionprotected Query.Operator
The operator.protected AdaptableDate
The value to test. -
Constructor Summary
ConstructorDescriptionBuild a LastMajorValidationDateQuery.LastMajorValidationDateQuery
(Query.Operator op, LocalDate value) Build a LastValidationDateQuery.Build a LastValidationDateQuery.Build a LastMajorValidationDateQuery. -
Method Summary
-
Field Details
-
_operator
The operator. -
_value
The value to test.
-
-
Constructor Details
-
LastMajorValidationDateQuery
Build a LastMajorValidationDateQuery.- Parameters:
value
- the value.
-
LastMajorValidationDateQuery
Build a LastMajorValidationDateQuery.- Parameters:
value
- the value.
-
LastMajorValidationDateQuery
Build a LastValidationDateQuery.- Parameters:
op
- the operator.value
- the value.
-
LastMajorValidationDateQuery
Build a LastValidationDateQuery.- Parameters:
op
- the operator.value
- the value.
-
-
Method Details
-
getOperator
Get the operator.- Returns:
- the operator.
-
getValue
Get the value.- Returns:
- the value.
-
build
Description copied from interface:Query
Build the solr query string representing the Query object.- Specified by:
build
in interfaceQuery
- Returns:
- the solr query string representing the Query object.
- Throws:
QuerySyntaxException
- if the query can't be built because of a syntax error.
-
hashCode
-
equals
-