com.atlassian.confluence.plugin.webresource
Interface ConfluenceWebResourceManager

All Superinterfaces:
WebResourceManager
All Known Implementing Classes:
DefaultConfluenceWebResourceManager

public interface ConfluenceWebResourceManager
extends WebResourceManager


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
 
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.
 
Methods inherited from interface com.atlassian.plugin.webresource.WebResourceManager
getStaticPluginResource, getStaticPluginResource, getStaticPluginResourcePrefix, getStaticResourcePrefix, getStaticResourcePrefix, includeResources, requireResource, setIncludeMode
 

Method Detail

getGlobalCssResourcePrefix

public String getGlobalCssResourcePrefix()
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.


getSpaceCssPrefix

public String getSpaceCssPrefix(String spaceKey)
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.

Parameters:
spaceKey - the key of the space we're viewing the CSS for.

invalidateGlobalCss

public void invalidateGlobalCss()
Cause the manager to start sending out new values for the global CSS resource prefix.


invalidateSpaceCss

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

Parameters:
spaceKey - the key of the space that has had its CSS changed


Confluence is developed by Atlassian.