|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Read only part of the theme service interface.
Method Summary | |
PortalTheme |
getTheme(ServerRegistrationID themeID,
boolean defaultOnNull)
Get a reference to a theme. |
PortalTheme |
getTheme(java.lang.String name,
boolean defaultOnNull)
Get a reference to a theme. |
java.util.Collection |
getThemeNames()
Get a Collection of all the registered theme's names |
java.util.Collection |
getThemes()
Get a Collection of all registered themes. |
Method Detail |
public PortalTheme getTheme(ServerRegistrationID themeID, boolean defaultOnNull)
themeID
- the registration id of the theme to retrievedefaultOnNull
- true, when the server should return the default theme, in case the requested is not found
defaultOnNull
was provided as true
java.lang.IllegalArgumentException
- if the themeID is nullpublic PortalTheme getTheme(java.lang.String name, boolean defaultOnNull)
name
- the name of the theme to retrievedefaultOnNull
- true, when the server should return the default theme, in case the requested is not found
defaultOnNull
was provided as true
java.lang.IllegalArgumentException
- if the themeID is nullpublic java.util.Collection getThemes()
public java.util.Collection getThemeNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |