public interface IThemeManagerSPI
Modifier and Type | Method and Description |
---|---|
void |
clearCache(String themeId)
Clears the theme cache.
|
Collection<ITheme> |
getAllThemes()
Returns all registered themes
|
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.
|
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.void clearCache(String themeId) throws PortalException
themeId
- the theme identifierPortalException
Collection<ITheme> getAllThemes() throws PortalException
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.