Package org.ametys.web.search.query
Class SitemapQuery
java.lang.Object
org.ametys.web.search.query.SitemapQuery
- All Implemented Interfaces:
Query
Represents a
Query
testing the sitemap property.-
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
ConstructorDescriptionBuild a SitemapQuery to test if the sitemap property exists.SitemapQuery
(String... names) Build a SitemapQuery.SitemapQuery
(Collection<String> names) Build a SitemapQuery.SitemapQuery
(Query.Operator operator, String... names) Build a SitemapQuery.SitemapQuery
(Query.Operator operator, Collection<String> names) Build a SitemapQuery. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.query.Query
buildAsJson, rewrite, toString
-
Constructor Details
-
SitemapQuery
public SitemapQuery()Build a SitemapQuery to test if the sitemap property exists. -
SitemapQuery
Build a SitemapQuery.- Parameters:
names
- the site names.
-
SitemapQuery
Build a SitemapQuery.- Parameters:
names
- the site names.
-
SitemapQuery
Build a SitemapQuery.- Parameters:
operator
- the operator.names
- the site names.
-
SitemapQuery
Build a SitemapQuery.- Parameters:
operator
- the operator.names
- the site names.
-
-
Method Details
-
getOperator
Get the operator.- Returns:
- the operator
-
getNames
Get the site names.- Returns:
- the site names.
-
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
-