com.atlassian.confluence.plugins.spacedirectory.rest
Class SpaceDirectoryResource
java.lang.Object
com.atlassian.confluence.plugins.rest.resources.AbstractResource
com.atlassian.confluence.plugins.spacedirectory.rest.SpaceDirectoryResource
public class SpaceDirectoryResource
- extends AbstractResource
Method Summary |
javax.ws.rs.core.Response |
doSearch(java.lang.String query,
int startIndex,
java.lang.Integer pageSize,
java.util.Set<java.lang.String> label,
java.lang.String typeStr,
java.lang.String status)
Search for spaces within the directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceDirectoryResource
public SpaceDirectoryResource(UserAccessor userAccessor,
SpacePermissionManager spacePermissionManager,
PredefinedSearchBuilder predefinedSearchBuilder,
SearchManager searchManager,
SpaceDirectoryEntityBuilder builder)
doSearch
public javax.ws.rs.core.Response doSearch(java.lang.String query,
int startIndex,
java.lang.Integer pageSize,
java.util.Set<java.lang.String> label,
java.lang.String typeStr,
java.lang.String status)
- Search for spaces within the directory.
- Parameters:
query
- Text query by space name and keystartIndex
- the index of the first result to returnpageSize
- the maximum number of results to returnlabel
- the set of labels that must be applied to the spacestypeStr
- the type of space to look up (or null to look up all spaces)status
- the status (current or archived) of space to look up, or null to
look up all spaces.
- Returns:
- the appropriate REST response.
Copyright © 2003-2013 Atlassian. All Rights Reserved.