Class DocumentTypeQuery

java.lang.Object
org.ametys.cms.search.query.DocumentTypeQuery
All Implemented Interfaces:
Query

public class DocumentTypeQuery extends Object implements Query
A query on the document type.
  • Constructor Details

    • DocumentTypeQuery

      public DocumentTypeQuery(String type)
      Build a document type query.
      Parameters:
      type - The document type to test.
    • DocumentTypeQuery

      public DocumentTypeQuery(String type, boolean positiveQuery)
      Build a document type query.
      Parameters:
      type - The document type to test.
      positiveQuery - false to negate the query.
  • Method Details