public interface

CssResourceCounterManager

com.atlassian.confluence.plugin.webresource.CssResourceCounterManager
Known Indirect Subclasses

Summary

Public Methods
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.

Public Methods

public 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.

public int getSpaceCssResourceCounter (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.

public void invalidateGlobalCssResourceCounter ()

Cause the manager to start sending out new values for the global CSS resource counter.

public void invalidateSpaceCssResourceCounter (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