public class SearchResultTypeSearchFilter extends AbstractChainableSearchFilter
SearchResultType
.
This should NOT be considered part of the public API. Please use ContentSearch
or ChangesSearch
instead.
Modifier and Type | Field and Description |
---|---|
static SearchResultTypeSearchFilter |
CHANGES
A filter that restricts search results to documents of type
SearchResultType.CHANGE . |
static SearchResultTypeSearchFilter |
CONTENT
A filter that restricts search results to documents of type
SearchResultType.CONTENT . |
Modifier and Type | Method and Description |
---|---|
SearchFilter |
expand()
Expands this filter into a composite filter (that composes other filters).
|
static SearchResultTypeSearchFilter |
getInstance(SearchResultType searchResultType)
Returns a SearchResultTypeSearchFilter of the specified type.
|
String |
getKey() |
SearchResultType |
getResultType() |
and, or
public static final SearchResultTypeSearchFilter CONTENT
SearchResultType.CONTENT
. For Confluence
internal use only. Please use ContentSearch
instead.public static final SearchResultTypeSearchFilter CHANGES
SearchResultType.CHANGE
. For Confluence
internal use only. Please use ChangesSearch
instead.public static SearchResultTypeSearchFilter getInstance(SearchResultType searchResultType)
public SearchResultType getResultType()
public String getKey()
public SearchFilter expand()
SearchFilter
Copyright © 2003–2017 Atlassian. All rights reserved.