|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.look.SilverpeasLook
public class SilverpeasLook
It is a singleton that represents the current look of the running Silverpeas. Its single object provides an access to the different look of the widgets that compound Silverpeas.
| Field Summary | |
|---|---|
static String |
DEFAULT_WALLPAPER_PROPERTY
The property in which is defined the URL of the default wallpaper for the Silverpeas application. |
static String |
SPACE_CSS
|
| Method Summary | |
|---|---|
String |
getCSSOfSpace(String spaceId)
return the CSS URL of space with a specific CSS. |
String |
getCSSOfSpaceLook(String spaceId)
|
static SilverpeasLook |
getSilverpeasLook()
Gets the look of Silverpeas. |
String |
getSpaceBasePath(String spaceId)
|
String |
getSpaceLook(String spaceId)
|
String |
getSpaceWithCSS(String spaceId)
return the first space id with a specific CSS in path of given space This space can be the given space itself or one of its parents |
String |
getWallpaperOfSpace(String spaceId)
Gets the wallpaper of the specified space. |
String |
getWallpaperOfSpaceOrDefaultOne(String spaceId)
Gets the wallpaper of the specified space. |
boolean |
hasSpaceWallpaper(String spaceId)
Is the specified space has a specific wallpaper? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_WALLPAPER_PROPERTY
public static final String SPACE_CSS
| Method Detail |
|---|
public static SilverpeasLook getSilverpeasLook()
public boolean hasSpaceWallpaper(String spaceId)
spaceId - the unique identifier of the space. It shouldn't be null.
public String getWallpaperOfSpace(String spaceId)
spaceId - the unique identifier of the space. The spaceId shouldn't be null.
public String getWallpaperOfSpaceOrDefaultOne(String spaceId)
spaceId - the identifier of the space.
getWallpaperOfSpace(java.lang.String)public String getSpaceWithCSS(String spaceId)
spaceId -
public String getCSSOfSpace(String spaceId)
spaceId -
public String getCSSOfSpaceLook(String spaceId)
public String getSpaceLook(String spaceId)
public String getSpaceBasePath(String spaceId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||