Package org.ametys.cms.search.query
Class UsersQuery
java.lang.Object
org.ametys.cms.search.query.AbstractFieldQuery
org.ametys.cms.search.query.UsersQuery
- All Implemented Interfaces:
Query
Query
testing users.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Field Summary
Fields inherited from class org.ametys.cms.search.query.AbstractFieldQuery
_fieldPath
-
Constructor Summary
ConstructorDescriptionUsersQuery
(String fieldPath, Collection<UserIdentity> users) Build a user query.UsersQuery
(String fieldPath, Query.Operator operator, Collection<UserIdentity> users) Build a user query.UsersQuery
(String fieldPath, Query.Operator operator, UserIdentity... users) Build a user query.UsersQuery
(String fieldPath, UserIdentity... users) Build a user query. -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractFieldQuery
getFieldPath
-
Constructor Details
-
UsersQuery
Build a user query.- Parameters:
fieldPath
- the field's pathusers
- The users to test.
-
UsersQuery
Build a user query.- Parameters:
fieldPath
- the field's pathusers
- The users to test.
-
UsersQuery
Build a user query.- Parameters:
fieldPath
- the field's pathoperator
- The query operator (can be EQ or NE).users
- The users to test.
-
UsersQuery
Build a user query.- Parameters:
fieldPath
- the field's pathoperator
- The query operator (can be EQ or NE).users
- The users to test.
-
-
Method Details
-
build
Description copied from interface:Query
Build the solr query string representing the Query object.- Returns:
- the solr query string representing the Query object.
- Throws:
QuerySyntaxException
- if the query can't be built because of a syntax error.
-
hashCode
- Overrides:
hashCode
in classAbstractFieldQuery
-
equals
- Overrides:
equals
in classAbstractFieldQuery
-