public class SpacesListMacro
extends com.atlassian.renderer.v2.macro.BaseMacro
Modifier and Type | Class and Description |
---|---|
static class |
SpacesListMacro.Tabs |
Modifier and Type | Field and Description |
---|---|
static String |
MACRO_NAME |
Constructor and Description |
---|
SpacesListMacro() |
public static final String MACRO_NAME
public boolean hasBody()
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
public String execute(Map parameters, String body, com.atlassian.renderer.RenderContext renderContext) throws com.atlassian.renderer.v2.macro.MacroException
com.atlassian.renderer.v2.macro.MacroException
protected DashboardMacroSupport getDashboardMacroSupport(boolean includeArchivedSpaces)
protected String renderMacro(Map contextMap, String velocityTemplatePath) throws IOException
IOException
protected Settings getGlobalSettings()
protected I18NBean getI18n()
public String getName()
public String getSelectedTeam(List<String> availableTeams, DashboardMacroSupport support)
public UserInterfaceState getUserInterfaceState()
public Set<Space> getSpacesForLabels(String labels, DashboardMacroSupport dashboardMacroSupport)
labels
- comma delimited list of labelsdashboardMacroSupport
- public List<Space> getSpacesForTeam(String selectedTeam, DashboardMacroSupport dashboardMacroSupport)
public Map<String,List<Space>> getSortedRecentlyCreatedSpaces(DashboardMacroSupport support)
public void setSpaceManager(SpaceManager spaceManager)
public void setLabelManager(LabelManager labelManager)
public void setSettingsManager(SettingsManager settingsManager)
public void setLocaleManager(LocaleManager localeManager)
public void setPermissionManager(PermissionManager permissionManager)
Copyright © 2003–2019 Atlassian. All rights reserved.