Interface IThemeManagerSPI

  • All Known Implementing Classes:
    ThemeManager

    public interface IThemeManagerSPI
    Theme service provider interface.
    Since:
    7.0.0
    Version:
    $Revision: 17047 $ $Date: 2015-03-03 11:22:22 -0300 (Tue, 03 Mar 2015) $
    • 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