public class DefaultSpaceCollectionService extends Object implements SpaceCollectionService
| Constructor and Description |
|---|
DefaultSpaceCollectionService(com.atlassian.confluence.security.SpacePermissionManager spacePermissionManager,
com.atlassian.confluence.spaces.SpaceManager spaceManager,
com.atlassian.confluence.labels.LabelManager labelManager,
com.atlassian.confluence.search.v2.SearchManager searchManager) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SpaceResultsEntity> |
getSpaces(List<String> promotedSpaceKeys,
int promotedSpacesLimit,
int otherSpacesLimit,
String spacePermission) |
public DefaultSpaceCollectionService(com.atlassian.confluence.security.SpacePermissionManager spacePermissionManager,
com.atlassian.confluence.spaces.SpaceManager spaceManager,
com.atlassian.confluence.labels.LabelManager labelManager,
com.atlassian.confluence.search.v2.SearchManager searchManager)
public Map<String,SpaceResultsEntity> getSpaces(List<String> promotedSpaceKeys, int promotedSpacesLimit, int otherSpacesLimit, String spacePermission)
getSpaces in interface SpaceCollectionServicepromotedSpaceKeys - list of space keys to retrieve, nullablepromotedSpacesLimit - limit number to return for promoted spacesotherSpacesLimit - limit number to return for other spacesspacePermission - Space permission as stated in com.atlassian.confluence.security.SpacePermissionCopyright © 2017 Atlassian. All rights reserved.