lumis.portal.theme
Interface IThemeManagerSPI

Package class diagram package IThemeManagerSPI
All Known Implementing Classes:
ThemeManager

public interface IThemeManagerSPI

Theme service provider interface.

Since:
7.0.0

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

register

void register(String themePath)
              throws PortalException
Registers a theme in the specified classpath relative path.

The theme will be added or updated in the themes registry.

Parameters:
themePath - the relative path in the classpath, referencing the folder that contains the themedefintion.xml file.
Throws:
PortalException - if an error occurs during register.
Since:
7.0.0

unregister

void unregister(String themeId)
                throws PortalException
Unregisters a theme, removing it from the themes registry.

Parameters:
themeId - the theme identifier.
Throws:
PortalException - if an error occurs during unregister.
Since:
7.0.0

getTheme

IThemeSPI getTheme(String themeId)
                   throws PortalException
Returns the theme with the given identifier.

Parameters:
themeId - the theme identifier.
Returns:
the theme.
Throws:
PortalObjectNotFoundException - if no theme exists with the given identifier.
PortalException - if an error occurred while obtaining the theme.
Since:
7.0.0


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.