Package org.ametys.cms.search.query
Class LastModifiedQuery
java.lang.Object
org.ametys.cms.search.query.LastModifiedQuery
- All Implemented Interfaces:
Query
Represents a
Query
testing the last modification 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
ConstructorDescriptionLastModifiedQuery
(LocalDate value) Build a LastModifiedQuery.LastModifiedQuery
(Query.Operator op, LocalDate value) Build a LastModifiedQuery.LastModifiedQuery
(Query.Operator op, AdaptableDate value) Build a LastModifiedQuery.LastModifiedQuery
(AdaptableDate value) Build a LastModifiedQuery. -
Method Summary
-
Field Details
-
_operator
The operator. -
_value
The value to test.
-
-
Constructor Details
-
LastModifiedQuery
Build a LastModifiedQuery.- Parameters:
value
- the value.
-
LastModifiedQuery
Build a LastModifiedQuery.- Parameters:
value
- the value.
-
LastModifiedQuery
Build a LastModifiedQuery.- Parameters:
op
- the operator.value
- the value.
-
LastModifiedQuery
Build a LastModifiedQuery.- 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
-