com.atlassian.confluence.search.v2.query
Class InSpaceQuery

java.lang.Object
  extended by com.atlassian.confluence.search.v2.query.InSpaceQuery
All Implemented Interfaces:
SearchQuery

public class InSpaceQuery
extends java.lang.Object
implements SearchQuery

Search for content that occurs within some set of spaces.


Constructor Summary
InSpaceQuery(java.util.Collection spaceKeys)
          Search for content within any of a collection of spaces with given keys
InSpaceQuery(java.lang.String spaceKey)
          Search for content within a single space with the given key
 
Method Summary
 java.lang.String getKey()
           
 java.util.List getParameters()
          List of parameters as Strings or SearchQuerys.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InSpaceQuery

public InSpaceQuery(java.lang.String spaceKey)
Search for content within a single space with the given key

Parameters:
spaceKey - the key of the space to search within

InSpaceQuery

public InSpaceQuery(java.util.Collection spaceKeys)
Search for content within any of a collection of spaces with given keys

Parameters:
spaceKeys - a collection of the keys of the spaces to search within
Method Detail

getKey

public java.lang.String getKey()
Specified by:
getKey in interface SearchQuery

getParameters

public java.util.List getParameters()
Description copied from interface: SearchQuery
List of parameters as Strings or SearchQuerys.

Specified by:
getParameters in interface SearchQuery
Returns:
Strings or SearchQuerys.


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.