|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfluenceWebResourceManager
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.plugin.webresource.WebResourceManager |
|---|
com.atlassian.plugin.webresource.WebResourceManager.IncludeMode |
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.plugin.webresource.WebResourceManager |
|---|
DELAYED_INCLUDE_MODE, INLINE_INCLUDE_MODE |
| Method Summary | |
|---|---|
java.lang.String |
getGlobalCssResourcePrefix()
Get the resource prefix for the global CSS file. |
java.lang.String |
getResourceContent(java.lang.String resourceName)
Gets the content of a resource specified. |
java.lang.String |
getResources()
Returns the HTML output of WebResourceManager.includeResources(java.io.Writer), which includes references to
all the delayed Javascript and CSS resources requested by WebResourceManager.requireResource(String). |
java.lang.String |
getSpaceCssPrefix(java.lang.String spaceKey)
Get the resource prefix for a particular space's CSS file. |
void |
requireResourcesForContext(java.lang.String context)
Requires all resources which have the given context specified in their descriptor |
| Methods inherited from interface com.atlassian.plugin.webresource.WebResourceManager |
|---|
getRequiredResources, getResourceTags, getStaticPluginResource, getStaticPluginResource, getStaticPluginResourcePrefix, getStaticResourcePrefix, getStaticResourcePrefix, includeResources, requireResource, requireResource, setIncludeMode |
| Method Detail |
|---|
java.lang.String getResources()
WebResourceManager.includeResources(java.io.Writer), which includes references to
all the delayed Javascript and CSS resources requested by WebResourceManager.requireResource(String).
java.lang.String getGlobalCssResourcePrefix()
java.lang.String getSpaceCssPrefix(java.lang.String spaceKey)
spaceKey - the key of the space we're viewing the CSS for, or null for the global CSS.java.lang.String getResourceContent(java.lang.String resourceName)
resourceName - The fully qualified plugin name and resource to include (eg confluence.web.resources:legacy-styles)
void requireResourcesForContext(java.lang.String context)
context - The name of the context for which you want to require resources (eg "confluence.main")
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||