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

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

public class InSpaceQuery
extends AbstractParameterListQuery<java.lang.String>

Search for content that occurs within some set of spaces.


Field Summary
 
Fields inherited from class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
parameters
 
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
 java.lang.String getKey()
           
 
Methods inherited from class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
equals, getParameters, 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()
Returns:
the plugin key


Copyright © 2003-2014 Atlassian. All Rights Reserved.