com.atlassian.confluence.plugin.webresource
Class DefaultCssResourceCounterManager

java.lang.Object
  extended by com.atlassian.confluence.plugin.webresource.DefaultCssResourceCounterManager
All Implemented Interfaces:
CssResourceCounterManager

public class DefaultCssResourceCounterManager
extends Object
implements CssResourceCounterManager


Constructor Summary
DefaultCssResourceCounterManager()
           
 
Method Summary
 int getGlobalCssResourceCounter()
          Get the resource counter for the global CSS file.
 int getSpaceCssResourceCounter(String spaceKey)
          Get the resource counter for a particular space's CSS file.
 void invalidateGlobalCssResourceCounter()
          Cause the manager to start sending out new values for the global CSS resource counter.
 void invalidateSpaceCssResourceCounter(String spaceKey)
          Cause the manager to start sending out new values for the space's CSS resource counter.
 void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCssResourceCounterManager

public DefaultCssResourceCounterManager()
Method Detail

invalidateGlobalCssResourceCounter

public void invalidateGlobalCssResourceCounter()
Description copied from interface: CssResourceCounterManager
Cause the manager to start sending out new values for the global CSS resource counter.

Specified by:
invalidateGlobalCssResourceCounter in interface CssResourceCounterManager

invalidateSpaceCssResourceCounter

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

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

getGlobalCssResourceCounter

public int getGlobalCssResourceCounter()
Description copied from interface: CssResourceCounterManager
Get the resource counter for the global CSS file. This counter should be updated every time there is a change to the global theme or colour scheme.

Specified by:
getGlobalCssResourceCounter in interface CssResourceCounterManager

getSpaceCssResourceCounter

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

Specified by:
getSpaceCssResourceCounter in interface CssResourceCounterManager
Parameters:
spaceKey - the key of the space we're viewing the CSS for, or null for the global CSS.

setBandanaManager

public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)


Copyright © 2003-2010 Atlassian. All Rights Reserved.