Interface MetaThemeService

    • Method Detail

      • getTheme

        MetaTheme getTheme​(String name,
                           @Nullable
                           User user)
        Retrieve the theme content depending on the given name. The current user can be used to retrieve theme depending on user context.
        Parameters:
        name - the theme name
        user - the current user, or null if not available
        Returns:
        MetaTheme
      • getAvailableThemes

        List<AvailableTheme> getAvailableThemes​(User user)
        Retrieve the available themes for the user.
        Parameters:
        user - the given user
        Returns:
        list of AvailableTheme