com.atlassian.confluence.plugin.webresource
Class DefaultConfluenceWebResourceManager

java.lang.Object
  extended bycom.atlassian.plugin.webresource.WebResourceManagerImpl
      extended bycom.atlassian.confluence.plugin.webresource.DefaultConfluenceWebResourceManager
All Implemented Interfaces:
ConfluenceWebResourceManager, WebResourceManager

public class DefaultConfluenceWebResourceManager
extends WebResourceManagerImpl
implements ConfluenceWebResourceManager


Nested Class Summary
 
Nested classes inherited from class com.atlassian.plugin.webresource.WebResourceManager
WebResourceManager.IncludeMode
 
Field Summary
 
Fields inherited from interface com.atlassian.plugin.webresource.WebResourceManager
DELAYED_INCLUDE_MODE, INLINE_INCLUDE_MODE
 
Constructor Summary
DefaultConfluenceWebResourceManager(WebResourceIntegration webResourceIntegration)
           
 
Method Summary
 String getGlobalCssResourcePrefix()
          Get the resource prefix for the global CSS file.
 String getSpaceCssPrefix(String spaceKey)
          Get the resource prefix for a particular space's CSS file.
 void invalidateGlobalCss()
          Cause the manager to start sending out new values for the global CSS resource prefix.
 void invalidateSpaceCss(String spaceKey)
          Cause the manager to start sending out new values for the space's CSS resource prefix.
 void setBandanaManager(BandanaManager bandanaManager)
           
 
Methods inherited from class com.atlassian.plugin.webresource.WebResourceManagerImpl
getStaticPluginResource, getStaticPluginResource, getStaticPluginResourcePrefix, getStaticResourcePrefix, getStaticResourcePrefix, includeResources, requireResource, setIncludeMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.webresource.WebResourceManager
getStaticPluginResource, getStaticPluginResource, getStaticPluginResourcePrefix, getStaticResourcePrefix, getStaticResourcePrefix, includeResources, requireResource, setIncludeMode
 

Constructor Detail

DefaultConfluenceWebResourceManager

public DefaultConfluenceWebResourceManager(WebResourceIntegration webResourceIntegration)
Method Detail

getGlobalCssResourcePrefix

public String getGlobalCssResourcePrefix()
Description copied from interface: ConfluenceWebResourceManager
Get the resource prefix for the global CSS file. This prefix should be updated every time there is a change to the global theme or colour scheme.

Specified by:
getGlobalCssResourcePrefix in interface ConfluenceWebResourceManager

getSpaceCssPrefix

public String getSpaceCssPrefix(String spaceKey)
Description copied from interface: ConfluenceWebResourceManager
Get the resource prefix for a particular space's CSS file. This prefix should be updated every time there is a change to the space's theme or colour scheme.

Specified by:
getSpaceCssPrefix in interface ConfluenceWebResourceManager
Parameters:
spaceKey - the key of the space we're viewing the CSS for.

invalidateGlobalCss

public void invalidateGlobalCss()
Description copied from interface: ConfluenceWebResourceManager
Cause the manager to start sending out new values for the global CSS resource prefix.

Specified by:
invalidateGlobalCss in interface ConfluenceWebResourceManager

invalidateSpaceCss

public void invalidateSpaceCss(String spaceKey)
Description copied from interface: ConfluenceWebResourceManager
Cause the manager to start sending out new values for the space's CSS resource prefix.

Specified by:
invalidateSpaceCss in interface ConfluenceWebResourceManager
Parameters:
spaceKey - the key of the space that has had its CSS changed

setBandanaManager

public void setBandanaManager(BandanaManager bandanaManager)


Confluence is developed by Atlassian.