public class ContentStatusQuery extends Object implements SearchQuery
| Modifier and Type | Field and Description |
|---|---|
static ContentStatusQuery |
CURRENT |
static String |
KEY |
| Constructor and Description |
|---|
ContentStatusQuery(Collection<ContentStatus> contentStatuses)
Constructs a SearchQuery which matches content by their content statuses.
|
ContentStatusQuery(ContentStatus... contentStatuses) |
| Modifier and Type | Method and Description |
|---|---|
SearchQuery |
expand()
Expands this query into a composite query (that composes other queries).
|
Collection<ContentStatus> |
getContentStatuses() |
static SearchQuery |
getDefaultContentStatusQuery()
The default SearchQuery will only match content which has the current status.
|
String |
getKey() |
List |
getParameters()
List of parameters as
Strings or SearchQuerys. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoost, getSubClausespublic static final String KEY
public static final ContentStatusQuery CURRENT
public ContentStatusQuery(Collection<ContentStatus> contentStatuses)
public ContentStatusQuery(ContentStatus... contentStatuses)
public static SearchQuery getDefaultContentStatusQuery()
public String getKey()
getKey in interface SearchQuerypublic List getParameters()
SearchQueryStrings or SearchQuerys.getParameters in interface SearchQueryStrings or SearchQuerys.public SearchQuery expand()
SearchQueryexpand in interface Expandable<SearchQuery>expand in interface SearchQuerypublic Collection<ContentStatus> getContentStatuses()
Copyright © 2003–2022 Atlassian. All rights reserved.