public class

SpaceCategoryQuery

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

Class Overview

Search for content within spaces of a particular category (or categories).

Summary

Public Constructors
SpaceCategoryQuery(Set<SpaceCategoryEnum> categories)
Search for content within all spaces represented by the provided categories.
SpaceCategoryQuery(SpaceCategoryEnum category)
Search for content within all spaces represented by the specified category.
Public Methods
boolean equals(Object obj)
String getKey()
List<String> getParameters()
List of parameters as Strings or SearchQuerys.
Set<SpaceCategoryEnum> getSpaceCategories()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchQuery

Public Constructors

public SpaceCategoryQuery (Set<SpaceCategoryEnum> categories)

Search for content within all spaces represented by the provided categories.

Parameters
categories the string representation of the category of space to search within.

public SpaceCategoryQuery (SpaceCategoryEnum category)

Search for content within all spaces represented by the specified category.

Parameters
category the category to search within

Public Methods

public boolean equals (Object obj)

public String getKey ()

public List<String> getParameters ()

List of parameters as Strings or SearchQuerys.

Returns

public Set<SpaceCategoryEnum> getSpaceCategories ()

public int hashCode ()