Package org.ametys.cms.search.query
Class ContentAttachmentQuery
java.lang.Object
org.ametys.cms.search.query.AbstractOperatorQuery<List<T>>
org.ametys.cms.search.query.AbstractMultivaluedQuery<String>
org.ametys.cms.search.query.ContentAttachmentQuery
Query testing the contentId of a resource (content 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
ConstructorsConstructorDescriptionContentAttachmentQuery(String... contentIds) Create an ContentAttachmentQuery which searches on resources attached to the given content.ContentAttachmentQuery(List<String> contentIds) Create an ContentAttachmentQuery which searches on resources attached to the given content. -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractMultivaluedQuery
build, buildAsJson, equals, hashCode, singleValueForQueryMethods inherited from class org.ametys.cms.search.query.AbstractOperatorQuery
getFieldName, getOperator, getValue, rewrite, valueForQuery
-
Constructor Details
-
ContentAttachmentQuery
Create an ContentAttachmentQuery which searches on resources attached to the given content.- Parameters:
contentIds- the content ids
-
ContentAttachmentQuery
Create an ContentAttachmentQuery which searches on resources attached to the given content.- Parameters:
contentIds- the content ids
-