com.atlassian.confluence.plugin.webresource
Interface CssResourceCounterManager

All Known Implementing Classes:
DefaultCssResourceCounterManager

public interface CssResourceCounterManager


Method Summary
 int getGlobalCssResourceCounter()
          Get the resource counter for the global CSS file.
 int getSpaceCssResourceCounter(java.lang.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(java.lang.String spaceKey)
          Cause the manager to start sending out new values for the space's CSS resource counter.
 

Method Detail

getGlobalCssResourceCounter

int getGlobalCssResourceCounter()
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.


getSpaceCssResourceCounter

int getSpaceCssResourceCounter(java.lang.String spaceKey)
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.

Parameters:
spaceKey - the key of the space we're viewing the CSS for, or null for the global CSS.

invalidateGlobalCssResourceCounter

void invalidateGlobalCssResourceCounter()
Cause the manager to start sending out new values for the global CSS resource counter.


invalidateSpaceCssResourceCounter

void invalidateSpaceCssResourceCounter(java.lang.String spaceKey)
Cause the manager to start sending out new values for the space's CSS resource counter.

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.