com.atlassian.confluence.search
Class SpacePickerHelper
java.lang.Object
com.atlassian.confluence.search.SpacePickerHelper
public class SpacePickerHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpacePickerHelper
public SpacePickerHelper(SpaceManager spaceManager,
LabelManager labelManager)
getAvailableGlobalSpaces
@Deprecated
public java.util.List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces(com.atlassian.user.User user)
- Deprecated. since 5.2. See
getAvailableGlobalSpaces(ConfluenceUser)
instead.
- Gets a list of current (non-archived) global space keys and names, not including any of the user's
favourite spaces. If the name of the space is longer than MAX_SPACE_NAME_LENGTH, it will be
shortened for display.
- Parameters:
user
- the user for which to generate the list, or null for the anonymous user
- Returns:
- A list of pairs of the space key, and shortened space name.
getAvailableGlobalSpaces
public java.util.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. If the name of the space is longer than MAX_SPACE_NAME_LENGTH, it will be
shortened for display.
- Parameters:
user
- the user for which to generate the list, or null for the anonymous user
- Returns:
- A list of pairs of the space key, and shortened space name.
getAggregateOptions
public java.util.List<com.atlassian.core.util.PairType> getAggregateOptions(com.opensymphony.xwork.ActionSupport action)
getFavouriteSpaces
public java.util.List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces(com.atlassian.user.User user)
Copyright © 2003-2014 Atlassian. All Rights Reserved.