|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IThemeManagerSPI
Theme service provider interface.
Method Summary | |
---|---|
IThemeSPI |
getTheme(String themeId)
Returns the theme with the given identifier. |
void |
register(String themePath)
Registers a theme in the specified classpath relative path. |
void |
unregister(String themeId)
Unregisters a theme, removing it from the themes registry. |
Method Detail |
---|
void register(String themePath) throws PortalException
The theme will be added or updated in the themes registry.
themePath
- the relative path in the classpath, referencing
the folder that contains the themedefintion.xml
file.
PortalException
- if an error occurs during register.void unregister(String themeId) throws PortalException
themeId
- the theme identifier.
PortalException
- if an error occurs during unregister.IThemeSPI getTheme(String themeId) throws PortalException
themeId
- the theme identifier.
PortalObjectNotFoundException
- if no theme exists with the given
identifier.
PortalException
- if an error occurred while obtaining the theme.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |