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> |
getAvailableGlobalSpaces(com.atlassian.user.User user)
Deprecated.
since 5.2. See
getAvailableGlobalSpaces(ConfluenceUser) instead. |
List<SpacePickerHelper.SpaceDTO> |
getFavouriteSpaces(com.atlassian.user.User user) |
public SpacePickerHelper(SpaceManager spaceManager, LabelManager labelManager)
@Deprecated public List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces(com.atlassian.user.User user)
getAvailableGlobalSpaces(ConfluenceUser)
instead.user
- the user for which to generate the list, or null for the anonymous userpublic 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–2017 Atlassian. All rights reserved.