public class CustomContentTypeQuery extends Object implements SearchQuery
| Constructor and Description |
|---|
CustomContentTypeQuery(Collection<String> pluginKeys)
Search for content that is one of the provided types
|
CustomContentTypeQuery(String... pluginKeys)
Search for a particular type of content
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
SearchQuery |
expand()
Expands this query into a composite query (that composes other queries).
|
String |
getKey() |
List<String> |
getParameters()
List of parameters as
Strings or SearchQuerys. |
Set<String> |
getPluginKeys()
Get the plugin keys being searched for, as strings.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBoostpublic CustomContentTypeQuery(String... pluginKeys)
pluginKeys - the plugin keys of the content to be searched forpublic CustomContentTypeQuery(Collection<String> pluginKeys)
pluginKeys - a collection of the plugin keys of the content to be searched forpublic String getKey()
getKey in interface SearchQuerypublic List<String> getParameters()
SearchQueryStrings or SearchQuerys.getParameters in interface SearchQueryStrings or SearchQuerys.public Set<String> getPluginKeys()
Really does the same as getParameters() but has a more apt name.
public SearchQuery expand()
SearchQueryexpand in interface Expandable<SearchQuery>expand in interface SearchQueryCopyright © 2003–2021 Atlassian. All rights reserved.