Package org.ametys.web.search.query
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).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
-
Constructor Summary
Constructors Constructor Description PageAttachmentQuery(String... pageIds)
Create an PageAttachmentQuery which searches on resources attached to the given page and its sub-pages.PageAttachmentQuery(Collection<String> pageIds)
Create an PageAttachmentQuery which searches on resources attached to the given page and its sub-pages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
build()
Build the solr query string representing the Query object.boolean
equals(Object obj)
int
hashCode()
-
-
-
Constructor Detail
-
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
public PageAttachmentQuery(Collection<String> pageIds)
Create an PageAttachmentQuery which searches on resources attached to the given page and its sub-pages.- Parameters:
pageIds
- the page ids
-
-