Class GlobalEntitiesContextProvider
- java.lang.Object
-
- com.atlassian.confluence.plugins.macros.dashboard.GlobalEntitiesContextProvider
-
- All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider
public class GlobalEntitiesContextProvider extends Object implements com.atlassian.plugin.web.ContextProvider
Web Panel for showing spaces, pages and people
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlobalEntitiesContextProvider.EntitiesTab
-
Field Summary
Fields Modifier and Type Field Description static GlobalEntitiesContextProvider.EntitiesTab
DEFAULT_TAB
-
Constructor Summary
Constructors Constructor Description GlobalEntitiesContextProvider(SpaceManager spaceManager, LabelManager labelManager, LocaleManager localeManager, PermissionManager permissionManager, com.atlassian.plugin.PluginAccessor pluginAccessor, FormatSettingsManager formatSettingsManager, UserAccessor userAccessor, SpaceLogoManager spaceLogoManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getContextMap(Map<String,Object> context)
void
init(Map<String,String> params)
void
injectPagesTabContext(Map<String,Object> context)
void
injectSpaceTabContext(ConfluenceUser user, Map<String,Object> context)
-
-
-
Field Detail
-
DEFAULT_TAB
public static final GlobalEntitiesContextProvider.EntitiesTab DEFAULT_TAB
-
-
Constructor Detail
-
GlobalEntitiesContextProvider
public GlobalEntitiesContextProvider(SpaceManager spaceManager, LabelManager labelManager, LocaleManager localeManager, PermissionManager permissionManager, com.atlassian.plugin.PluginAccessor pluginAccessor, FormatSettingsManager formatSettingsManager, UserAccessor userAccessor, SpaceLogoManager spaceLogoManager)
-
-
Method Detail
-
init
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
public Map<String,Object> getContextMap(Map<String,Object> context)
- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
-
injectSpaceTabContext
public void injectSpaceTabContext(ConfluenceUser user, Map<String,Object> context)
-
-