Package org.ametys.cms.search.query
Class DocumentTypeQuery
java.lang.Object
org.ametys.cms.search.query.DocumentTypeQuery
- All Implemented Interfaces:
Query
A query on the document type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Constructor Summary
ConstructorDescriptionDocumentTypeQuery
(String type) Build a document type query.DocumentTypeQuery
(String type, boolean positiveQuery) Build a document type query. -
Method Summary
-
Constructor Details
-
DocumentTypeQuery
Build a document type query.- Parameters:
type
- The document type to test.
-
DocumentTypeQuery
Build a document type query.- Parameters:
type
- The document type to test.positiveQuery
-false
to negate the query.
-
-
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.
-
hashCode
-
equals
-