Class SpacePickerHelper
- java.lang.Object
-
- com.atlassian.confluence.internal.search.SpacePickerHelper
-
@Deprecated public class SpacePickerHelper extends Object
Deprecated.since 8.0. Use #instead
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpacePickerHelper.SpaceDTO
Deprecated.
-
Constructor Summary
Constructors Constructor Description SpacePickerHelper(SpaceManager spaceManager, LabelManager labelManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<com.atlassian.core.util.PairType>
getAggregateOptions(com.opensymphony.xwork2.ActionSupport action)
Deprecated.List<SpacePickerHelper.SpaceDTO>
getAvailableGlobalSpaces(ConfluenceUser user)
Deprecated.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)
Deprecated.
-
-
-
Constructor Detail
-
SpacePickerHelper
public SpacePickerHelper(SpaceManager spaceManager, LabelManager labelManager)
Deprecated.
-
-
Method Detail
-
getAvailableGlobalSpaces
public List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces(ConfluenceUser user)
Deprecated.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 List<com.atlassian.core.util.PairType> getAggregateOptions(com.opensymphony.xwork2.ActionSupport action)
Deprecated.
-
getFavouriteSpaces
public List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces(com.atlassian.user.User user)
Deprecated.
-
-