public class SpaceDirectoryResource extends AbstractResource
authContext, uriInfo, userAccessor
Constructor and Description |
---|
SpaceDirectoryResource(UserAccessor userAccessor,
SpacePermissionManager spacePermissionManager,
PredefinedSearchBuilder predefinedSearchBuilder,
SearchManager searchManager,
SpaceDirectoryEntityBuilder builder) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
doSearch(String query,
int startIndex,
Integer pageSize,
Set<String> label,
String typeStr,
String status)
Search for spaces within the directory.
|
createRequestContext, getAnonymousUserUriBuilder, getAttachmentUriBuilder, getContentUriBuilder, getCurrentUser, getMissingUserUriBuilder, getSpaceUriBuilder, getUserUriBuilder
public SpaceDirectoryResource(UserAccessor userAccessor, SpacePermissionManager spacePermissionManager, PredefinedSearchBuilder predefinedSearchBuilder, SearchManager searchManager, SpaceDirectoryEntityBuilder builder)
public javax.ws.rs.core.Response doSearch(String query, int startIndex, Integer pageSize, Set<String> label, String typeStr, String status)
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.Copyright © 2003–2016 Atlassian. All rights reserved.