com.atlassian.confluence.search
Class SpacePickerHelper

java.lang.Object
  extended by com.atlassian.confluence.search.SpacePickerHelper

public class SpacePickerHelper
extends Object


Constructor Summary
SpacePickerHelper(SpaceManager spaceManager, LabelManager labelManager)
           
 
Method Summary
 List getAggregateOptions(com.opensymphony.xwork.ActionSupport action)
           
 List<com.atlassian.core.util.PairType> getAvailableGlobalSpaces(com.atlassian.user.User user)
           
 List getFavouriteSpaces(com.atlassian.user.User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpacePickerHelper

public SpacePickerHelper(SpaceManager spaceManager,
                         LabelManager labelManager)
Method Detail

getAvailableGlobalSpaces

public List<com.atlassian.core.util.PairType> getAvailableGlobalSpaces(com.atlassian.user.User user)
Returns:
a list of global spaces (minus the user's favourite spaces that are global). The name of the space has been constrained to MAX_SPACE_NAME_LENGTH for display purposes.

getAggregateOptions

public List getAggregateOptions(com.opensymphony.xwork.ActionSupport action)

getFavouriteSpaces

public List getFavouriteSpaces(com.atlassian.user.User user)


Copyright © 2003-2012 Atlassian. All Rights Reserved.