Package org.ametys.cms.search.query
Class MixinTypeQuery
java.lang.Object
org.ametys.cms.search.query.MixinTypeQuery
- All Implemented Interfaces:
Query
Represents a
Query
testing the mixin types of contents.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Constructor Summary
ConstructorDescriptionMixinTypeQuery
(String... ids) Build a MixinTypeQuery.MixinTypeQuery
(Collection<String> ids) Build a MixinTypeQuery.MixinTypeQuery
(Query.Operator operator, String... ids) Build a MixinTypeQuery.MixinTypeQuery
(Query.Operator operator, Collection<String> ids) Build a MixinTypeQuery. -
Method Summary
-
Constructor Details
-
MixinTypeQuery
Build a MixinTypeQuery.- Parameters:
ids
- the mixin type ids.
-
MixinTypeQuery
Build a MixinTypeQuery.- Parameters:
ids
- the mixin type ids.
-
MixinTypeQuery
Build a MixinTypeQuery.- Parameters:
operator
- the operator.ids
- the mixin type ids.
-
MixinTypeQuery
Build a MixinTypeQuery.- Parameters:
operator
- the operator.ids
- the mixin type ids.
-
-
Method Details
-
getOperator
Get the operator.- Returns:
- the operator
-
getIds
Get the mixin type ids.- Returns:
- the mixin type ids.
-
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
-