Package org.ametys.cms.search.query
Class MimeTypeGroupQuery
- java.lang.Object
-
- org.ametys.cms.search.query.MimeTypeGroupQuery
-
- All Implemented Interfaces:
Query
public class MimeTypeGroupQuery extends Object implements Query
MIME-Type group Query
SeeSolrResourceGroupedMimeTypes
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
-
Field Summary
Fields Modifier and Type Field Description protected String
_groupMimeType
The group MIME-Type to test
-
Constructor Summary
Constructors Constructor Description MimeTypeGroupQuery(String groupMimeType)
Creates a MIME-Type group Query
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
build()
Build the solr query string representing the Query object.boolean
equals(Object obj)
int
hashCode()
-
-
-
Field Detail
-
_groupMimeType
protected String _groupMimeType
The group MIME-Type to test
-
-
Constructor Detail
-
MimeTypeGroupQuery
public MimeTypeGroupQuery(String groupMimeType)
Creates a MIME-Type group Query- Parameters:
groupMimeType
- The group MIME-Type to test
-
-
Method Detail
-
build
public String build() throws QuerySyntaxException
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.
-
-