public class

InSpaceQuery

extends AbstractParameterListQuery<T>
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.query.AbstractParameterListQuery<T>
     ↳ com.atlassian.confluence.search.v2.query.InSpaceQuery

Class Overview

Search for content that occurs within some set of spaces.

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
Public Constructors
InSpaceQuery(String spaceKey)
Search for content within a single space with the given key
InSpaceQuery(Set<String> spaceKeys)
Search for content within any of a collection of spaces with given keys
Public Methods
String getKey()
[Expand]
Inherited Methods
From class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchQuery

Public Constructors

public InSpaceQuery (String spaceKey)

Search for content within a single space with the given key

Parameters
spaceKey the key of the space to search within

public InSpaceQuery (Set<String> spaceKeys)

Search for content within any of a collection of spaces with given keys

Parameters
spaceKeys a set of the keys of the spaces to search within

Public Methods

public String getKey ()