Class CollectionsQuery
java.lang.Object
org.ametys.plugins.contentio.synchronize.search.query.CollectionsQuery
- All Implemented Interfaces:
Query
Query
testing SynchronizableContentsCollection
s of contents.-
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
ConstructorDescriptionCollectionsQuery
(String... ids) Build a CollectionsQuery.CollectionsQuery
(Collection<String> ids) Build a CollectionsQuery.CollectionsQuery
(Query.Operator operator, String... ids) Build a CollectionsQuery.CollectionsQuery
(Query.Operator operator, Collection<String> ids) Build a CollectionsQuery. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.query.Query
buildAsJson, rewrite, toString
-
Constructor Details
-
CollectionsQuery
Build a CollectionsQuery.- Parameters:
ids
- The ids of theSynchronizableContentsCollection
s to test
-
CollectionsQuery
Build a CollectionsQuery.- Parameters:
ids
- The ids of theSynchronizableContentsCollection
s to test
-
CollectionsQuery
Build a CollectionsQuery.- Parameters:
operator
- The query operator (can be EQ or NE).ids
- The ids of theSynchronizableContentsCollection
s to test
-
CollectionsQuery
Build a CollectionsQuery.- Parameters:
operator
- The query operator (can be EQ or NE).ids
- The ids of theSynchronizableContentsCollection
s to test
-
-
Method Details
-
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.
-