Package com.axelor.meta.theme
Interface MetaThemeService
- All Known Implementing Classes:
MetaThemeServiceImpl
public interface MetaThemeService
-
Method Summary
Modifier and TypeMethodDescriptiongetAvailableThemes
(User user) Retrieve the available themes for the user.Retrieve the theme content depending on the given name.
-
Method Details
-
getTheme
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 nameuser
- the current user, or null if not available- Returns:
MetaTheme
-
getAvailableThemes
Retrieve the available themes for the user.- Parameters:
user
- the given user- Returns:
- list of
AvailableTheme
-