Package org.ametys.web.search.query
Class PageAttachmentQuery
java.lang.Object
org.ametys.web.search.query.PageAttachmentQuery
- All Implemented Interfaces:
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
-
Field Summary
Fields inherited from interface org.ametys.cms.search.query.Query
BOOL_FILTER, BOOL_MUST, BOOL_MUST_NOT, BOOL_SHOULD
-
Constructor Summary
ConstructorDescriptionPageAttachmentQuery
(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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.query.Query
buildAsJson, rewrite, toString
-
Field Details
-
_pageIds
The page ids
-
-
Constructor Details
-
PageAttachmentQuery
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