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.Set<java.lang.String> 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
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKey()
           
 java.util.List getParameters()
          List of parameters as Strings or SearchQuerys.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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.Set<java.lang.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
Method Detail

getKey

public java.lang.String getKey()
Specified by:
getKey in interface SearchQuery
Returns:
the plugin key

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.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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