Package org.xwiki.skin
Interface SkinManager
-
@Role public interface SkinManager
- Since:
- 7.0M1
- Version:
- $Id: 2718b1de4fa9ebe700673a59666bb6a695e92db5 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Skin
getCurrentSkin(boolean testRights)
Return the current skin.Skin
getDefaultParentSkin()
Return the default skin to use as parent for other skins.Skin
getDefaultSkin()
Return the default skin.Skin
getSkin(String id)
-
-
-
Method Detail
-
getSkin
Skin getSkin(String id)
- Parameters:
id
- the id of the skin- Returns:
- the skin with the provided id
-
getCurrentSkin
Skin getCurrentSkin(boolean testRights)
Return the current skin.- Parameters:
testRights
- true if it should make sure to return a skin accessible to current user- Returns:
- the skin
-
getDefaultSkin
Skin getDefaultSkin()
Return the default skin.- Returns:
- the default skin
-
getDefaultParentSkin
Skin getDefaultParentSkin()
Return the default skin to use as parent for other skins.- Returns:
- the default parent skin
-
-