com.atlassian.confluence.renderer.radeox.macros
Class SpacesListMacro

java.lang.Object
  extended byorg.radeox.macro.BaseMacro
      extended bycom.atlassian.renderer.macro.BaseMacro
          extended bycom.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
              extended bycom.atlassian.confluence.renderer.radeox.macros.SpacesListMacro
All Implemented Interfaces:
Comparable, Macro, org.radeox.macro.Macro

public class SpacesListMacro
extends AbstractHtmlGeneratingMacro


Field Summary
static String MACRO_NAME
           
 
Fields inherited from class com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
log
 
Fields inherited from class org.radeox.macro.BaseMacro
initialContext, paramDescription
 
Constructor Summary
SpacesListMacro()
           
 
Method Summary
protected  String getHtml(org.radeox.macro.parameter.MacroParameter macroParameter)
           
 LabelManager getLabelManager()
           
 String getName()
           
 List getPermitted(List entityList)
           
 String getSelectedGroup(List availableGroups, DashboardMacroSupport support)
           
 String getSelectedTeam(List availableTeams, DashboardMacroSupport support)
           
 Map getSortedRecentlyCreatedSpaces(DashboardMacroSupport support)
           
 List getSpacesForGroup(String selectedGroup)
           
 List getSpacesForLabels(String labels)
           
 List getSpacesForTeam(String selectedTeam)
           
 UserInterfaceState getUserInterfaceState()
           
 void setLabelManager(LabelManager labelManager)
           
 void setPermissionCheckDispatcher(PermissionCheckDispatcher permissionCheckDispatcher)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 void setSettingsManager(SettingsManager settingsManager)
           
 void setSpaceGroupManager(SpaceGroupManager spaceGroupManager)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 
Methods inherited from class com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
buildBaseUrl, errorContent, execute, getPageContext, getRemoteUser, hasLoneParameter, parseParameterForKey
 
Methods inherited from class com.atlassian.renderer.macro.BaseMacro
getDescription, getResourcePath, setDescription, setResourcePath
 
Methods inherited from class org.radeox.macro.BaseMacro
compareTo, getParamDescription, setInitialContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.radeox.macro.Macro
getParamDescription, setInitialContext
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

MACRO_NAME

public static final String MACRO_NAME
See Also:
Constant Field Values
Constructor Detail

SpacesListMacro

public SpacesListMacro()
Method Detail

getHtml

protected String getHtml(org.radeox.macro.parameter.MacroParameter macroParameter)
                  throws IllegalArgumentException,
                         IOException
Specified by:
getHtml in class AbstractHtmlGeneratingMacro
Throws:
IllegalArgumentException
IOException

setSpaceGroupManager

public void setSpaceGroupManager(SpaceGroupManager spaceGroupManager)

getPermitted

public List getPermitted(List entityList)

getName

public String getName()

getSelectedTeam

public String getSelectedTeam(List availableTeams,
                              DashboardMacroSupport support)

getSelectedGroup

public String getSelectedGroup(List availableGroups,
                               DashboardMacroSupport support)

getUserInterfaceState

public UserInterfaceState getUserInterfaceState()

getSpacesForLabels

public List getSpacesForLabels(String labels)
Parameters:
labels - comma delimited list of labels
Returns:
spaces belonging to these labels

getSpacesForGroup

public List getSpacesForGroup(String selectedGroup)

getSpacesForTeam

public List getSpacesForTeam(String selectedTeam)

getSortedRecentlyCreatedSpaces

public Map getSortedRecentlyCreatedSpaces(DashboardMacroSupport support)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setLabelManager

public void setLabelManager(LabelManager labelManager)

getLabelManager

public LabelManager getLabelManager()

setPermissionCheckDispatcher

public void setPermissionCheckDispatcher(PermissionCheckDispatcher permissionCheckDispatcher)

setSettingsManager

public void setSettingsManager(SettingsManager settingsManager)


Confluence is developed by Atlassian.