Class SiteTypeQuery

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

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

    • SiteTypeQuery

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

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

      Build a SiteTypeQuery to test if the site type property is equals to one of the given site types
      Parameters:
      types - the site types.
    • SiteTypeQuery

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

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