public interface

CssResourceCounterManager

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

Summary

Public Methods
abstract int getGlobalCssResourceCounter()
Get the resource counter for the global CSS file.
abstract int getSpaceCssResourceCounter(String spaceKey)
Get the resource counter for a particular space's CSS file.
abstract void invalidateGlobalCssResourceCounter()
Cause the manager to start sending out new values for the global CSS resource counter.
abstract void invalidateSpaceCssResourceCounter(String spaceKey)
Cause the manager to start sending out new values for the space's CSS resource counter.

Public Methods

public abstract 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 abstract 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 abstract void invalidateGlobalCssResourceCounter ()

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

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