Class SpacePickerHelper

java.lang.Object
com.atlassian.confluence.internal.search.SpacePickerHelper

@Deprecated public class SpacePickerHelper extends Object
Deprecated.
since 8.0, use SpaceService instead.
  • Constructor Details

  • Method Details

    • 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

      @Deprecated public List<com.atlassian.core.util.PairType> getAggregateOptions(com.opensymphony.xwork2.ActionSupport action)
      Deprecated.
    • getAggregateOptions

      public List<com.atlassian.core.util.PairType> getAggregateOptions(ConfluenceActionSupport action)
      Deprecated.
    • getFavouriteSpaces

      public List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces(com.atlassian.user.User user)
      Deprecated.