Class SiteQuery

java.lang.Object
org.ametys.web.search.query.SiteQuery
All Implemented Interfaces:
Query

public class SiteQuery extends Object implements Query
Represents a Query testing the site property.
  • Constructor Details

    • SiteQuery

      public SiteQuery()
      Build a SiteQuery to test if the site property exists
    • SiteQuery

      public SiteQuery(String... names)
      Build a SiteQuery to test if the site property is equals to one of the given site names
      Parameters:
      names - the site names.
    • SiteQuery

      public SiteQuery(Collection<String> names)
      Build a SiteQuery to test if the site property is equals to one of the given site names
      Parameters:
      names - the site names.
    • SiteQuery

      public SiteQuery(Query.Operator operator, String... names)
      Build a SiteQuery to test if the site property is equals or different to one of the given site names
      Parameters:
      operator - the operator (equals ot not-equals)
      names - the site names.
    • SiteQuery

      public SiteQuery(Query.Operator operator, Collection<String> names)
      Build a SiteQuery.
      Parameters:
      operator - the operator.
      names - the site names.
  • Method Details