Package org.ametys.cms.search.query
Class HasLiveVersionQuery
java.lang.Object
org.ametys.cms.search.query.AbstractOperatorQuery<Boolean>
org.ametys.cms.search.query.HasLiveVersionQuery
Represents a
Query
testing if the content has a live version-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Field Summary
Fields inherited from interface org.ametys.cms.search.query.Query
BOOL_FILTER, BOOL_MUST, BOOL_MUST_NOT, BOOL_SHOULD
-
Constructor Summary
ConstructorDescriptionHasLiveVersionQuery
(Boolean state) Build a HasLiveVersionQueryHasLiveVersionQuery
(Query.Operator operator, Boolean state) Build a HasLiveVersionQuery -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractOperatorQuery
build, equals, getFieldName, getOperator, getValue, hashCode, rewrite, valueForQuery
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.query.Query
buildAsJson, toString
-
Constructor Details
-
HasLiveVersionQuery
Build a HasLiveVersionQuery- Parameters:
state
- the state value to test
-
HasLiveVersionQuery
Build a HasLiveVersionQuery- Parameters:
operator
- the operatorstate
- the state value to test
-