public class

CustomContentTypeQuery

extends Object
implements SearchQuery
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.query.CustomContentTypeQuery

Summary

Public Constructors
CustomContentTypeQuery(String... pluginKeys)
Search for a particular type of content
CustomContentTypeQuery(Collection<String> pluginKeys)
Search for content that is one of the provided types
Public Methods
boolean equals(Object o)
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchQuery

Public Constructors

public CustomContentTypeQuery (String... pluginKeys)

Search for a particular type of content

Parameters
pluginKeys the plugin keys of the content to be searched for

public CustomContentTypeQuery (Collection<String> pluginKeys)

Search for content that is one of the provided types

Parameters
pluginKeys a collection of the plugin keys of the content to be searched for

Public Methods

public boolean equals (Object o)

public String getKey ()

public List<String> getParameters ()

List of parameters as Strings or SearchQuerys.

Returns

public Set<String> getPluginKeys ()

Get the plugin keys being searched for, as strings. Really does the same as getParameters() but has a more apt name.

Returns
  • a list of the content types being searched for, as strings

public int hashCode ()