Class PageAttachmentQuery

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

public class PageAttachmentQuery extends Object implements Query
Query testing the pageId of a resource (page attachment).
  • Field Details

  • Constructor Details

    • PageAttachmentQuery

      public PageAttachmentQuery(String... pageIds)
      Create an PageAttachmentQuery which searches on resources attached to the given page and its sub-pages.
      Parameters:
      pageIds - the page ids
    • PageAttachmentQuery

      Create an PageAttachmentQuery which searches on resources attached to the given page and its sub-pages.
      Parameters:
      pageIds - the page ids
  • Method Details

    • build

      public String build()
      Description copied from interface: Query
      Build the solr query string representing the Query object.
      Specified by:
      build in interface Query
      Returns:
      the solr query string representing the Query object.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object