|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StylesheetManager
Method Summary | |
---|---|
void |
addGlobalStylesheet(java.lang.String style)
Adds a global stylesheet to customize the look and feel of Confluence |
void |
addSpaceStylesheet(java.lang.String spaceKey,
java.lang.String style)
Adds a space stylesheet to customize the look and feel of a single space within Confluence. |
java.lang.String |
getGlobalStylesheet()
Retrieve the custom global stylesheet |
java.lang.String |
getSpaceStylesheet(java.lang.String spaceKey)
Retrieve the custom stylesheet that has been stored against a space. |
java.lang.String |
getSpaceStylesheet(java.lang.String spaceKey,
boolean shouldLookGlobal)
Retrieve the custom stylesheet that has been stored against a space. |
void |
removeGlobalStylesheet()
removes the global Confluence stylesheet |
void |
removeSpaceStylesheet(java.lang.String spaceKey)
Removes a space specific stylesheet |
Method Detail |
---|
java.lang.String getSpaceStylesheet(java.lang.String spaceKey)
If no stylesheet is stored against the space, the global stylesheet will be applied if one exists. However, if a space theme is set, the global styles will be ignored.
spaceKey
- The key of the Confluence space for which you want to retrieve the style
java.lang.String getSpaceStylesheet(java.lang.String spaceKey, boolean shouldLookGlobal)
spaceKey
- The key of the Confluence space for which you want to retrieve the styleshouldLookGlobal
- determines whether it should look for a global style if no space style exists
java.lang.String getGlobalStylesheet()
void addGlobalStylesheet(java.lang.String style)
style
- A String representing the css styles for Confluencevoid addSpaceStylesheet(java.lang.String spaceKey, java.lang.String style)
spaceKey
- The key of the Confluence space to which the syle should be appliedstyle
- A String representing the css styles for the spacevoid removeSpaceStylesheet(java.lang.String spaceKey)
spaceKey
- The key of the Confluence space from which to remove the stylevoid removeGlobalStylesheet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |