Class ThemeResource

    • Field Detail

      • logger

        protected static final org.apache.commons.logging.Log logger
    • Constructor Detail

      • ThemeResource

        public ThemeResource()
    • Method Detail

      • getSystemThemes

        public List<Theme> getSystemThemes()
        List the current supported themes in the platform
        Returns:
        list of themes
      • setTheme

        public javax.ws.rs.core.Response setTheme​(String theme)
        Set the current theme to the one provided in this request
        Parameters:
        theme - (theme to be changed to)
        Returns:
      • getActiveTheme

        public javax.ws.rs.core.Response getActiveTheme()
        Return the name of the active theme
        Returns:
        active theme