com.atlassian.confluence.plugins.macros.dashboard
Class GlobalEntitiesContextProvider

java.lang.Object
  extended by 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
static class GlobalEntitiesContextProvider.EntitiesTab
           
 
Field Summary
static GlobalEntitiesContextProvider.EntitiesTab DEFAULT_TAB
           
 
Constructor Summary
GlobalEntitiesContextProvider(SpaceManager spaceManager, LabelManager labelManager, LocaleManager localeManager, PermissionManager permissionManager, com.atlassian.plugin.PluginAccessor pluginAccessor, SpaceLogoManager spaceLogoManager)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                                     SpaceLogoManager spaceLogoManager)
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.ContextProvider
Throws:
com.atlassian.plugin.PluginParseException

getContextMap

public Map<String,Object> getContextMap(Map<String,Object> context)
Specified by:
getContextMap in interface com.atlassian.plugin.web.ContextProvider

injectSpaceTabContext

public void injectSpaceTabContext(ConfluenceUser user,
                                  Map<String,Object> context)

injectPagesTabContext

public void injectPagesTabContext(Map<String,Object> context)


Copyright © 2003–2015 Atlassian. All rights reserved.