public class SpacePickerHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SpacePickerHelper.SpaceDTO |
Constructor and Description |
---|
SpacePickerHelper(SpaceManager spaceManager,
LabelManager labelManager) |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.core.util.PairType> |
getAggregateOptions(com.opensymphony.xwork.ActionSupport action) |
List<SpacePickerHelper.SpaceDTO> |
getAvailableGlobalSpaces(ConfluenceUser user)
Gets a list of current (non-archived) global space keys and names, not including any of the user's
favourite spaces.
|
List<SpacePickerHelper.SpaceDTO> |
getFavouriteSpaces(com.atlassian.user.User user) |
public SpacePickerHelper(SpaceManager spaceManager, LabelManager labelManager)
public List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces(ConfluenceUser user)
user
- the user for which to generate the list, or null for the anonymous userpublic List<com.atlassian.core.util.PairType> getAggregateOptions(com.opensymphony.xwork.ActionSupport action)
public List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces(com.atlassian.user.User user)
Copyright © 2003–2020 Atlassian. All rights reserved.