public class ContentAttachmentQuery extends Object implements Query
Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
_contentIds
The content ids
|
| Constructor and Description |
|---|
ContentAttachmentQuery(Collection<String> contentIds)
Create an ContentAttachmentQuery which searches on resources attached to the given content.
|
ContentAttachmentQuery(String... contentIds)
Create an ContentAttachmentQuery which searches on resources attached to the given content.
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
protected List<String> _contentIds
public ContentAttachmentQuery(String... contentIds)
contentIds - the content idspublic ContentAttachmentQuery(Collection<String> contentIds)
contentIds - the content idspublic String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.