Package com.hybris.backoffice.theme.impl
Class DefaultBackofficeThemeService
java.lang.Object
com.hybris.backoffice.theme.impl.DefaultBackofficeThemeService
- All Implemented Interfaces:
BackofficeThemeService
Service used to set the theme used by backoffice or get the theme currently used by backoffice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all available themes.Get all Backoffice base themes which can be based by customer theme.Get current theme.Get the theme in user level.Get all custom themes.Get default theme.intGet maximum of custom themeGet the theme in system level.Get theme level.Get default theme in user level.voidsetBackofficeThemeConfigDao(BackofficeThemeConfigDao backofficeThemeConfigDao) voidsetBackofficeThemeDao(BackofficeThemeDao backofficeThemeDao) voidsetCurrentUserTheme(String code) Set the theme in user level.voidsetCustomThemeService(BackofficeCustomThemeService customThemeService) voidsetDefaultThemeCode(String defaultThemeCode) voidsetModelService(ModelService modelService) voidsetSystemTheme(String code) Set the theme in system level.voidsetThemeLevel(BackofficeThemeLevel themeLevel) Set theme level.voidSet default user level theme.voidsetUserService(UserService userService)
-
Constructor Details
-
DefaultBackofficeThemeService
public DefaultBackofficeThemeService()
-
-
Method Details
-
getCurrentTheme
Description copied from interface:BackofficeThemeServiceGet current theme.- Specified by:
getCurrentThemein interfaceBackofficeThemeService- Returns:
- the current theme
-
getSystemTheme
Description copied from interface:BackofficeThemeServiceGet the theme in system level.- Specified by:
getSystemThemein interfaceBackofficeThemeService- Returns:
- the theme in system level
-
getCurrentUserTheme
Description copied from interface:BackofficeThemeServiceGet the theme in user level.- Specified by:
getCurrentUserThemein interfaceBackofficeThemeService- Returns:
- the theme in user level
-
setCurrentUserTheme
Description copied from interface:BackofficeThemeServiceSet the theme in user level.- Specified by:
setCurrentUserThemein interfaceBackofficeThemeService- Parameters:
code- theme code- Throws:
ThemeNotFound
-
setSystemTheme
Description copied from interface:BackofficeThemeServiceSet the theme in system level.- Specified by:
setSystemThemein interfaceBackofficeThemeService- Parameters:
code- theme code- Throws:
ThemeNotFound
-
setUserLevelDefaultTheme
Description copied from interface:BackofficeThemeServiceSet default user level theme.- Specified by:
setUserLevelDefaultThemein interfaceBackofficeThemeService- Parameters:
code- theme code- Throws:
ThemeNotFound
-
getUserLevelDefaultTheme
Description copied from interface:BackofficeThemeServiceGet default theme in user level.- Specified by:
getUserLevelDefaultThemein interfaceBackofficeThemeService- Returns:
- the default theme in user level
-
getMaximumOfCustomTheme
public int getMaximumOfCustomTheme()Description copied from interface:BackofficeThemeServiceGet maximum of custom theme- Specified by:
getMaximumOfCustomThemein interfaceBackofficeThemeService- Returns:
- maximum of custom theme
-
getAvailableThemes
Description copied from interface:BackofficeThemeServiceGet all available themes.- Specified by:
getAvailableThemesin interfaceBackofficeThemeService- Returns:
- all available themes
-
getBaseThemes
Description copied from interface:BackofficeThemeServiceGet all Backoffice base themes which can be based by customer theme.- Specified by:
getBaseThemesin interfaceBackofficeThemeService- Returns:
- all Backoffice base themes
-
getCustomThemes
Description copied from interface:BackofficeThemeServiceGet all custom themes.- Specified by:
getCustomThemesin interfaceBackofficeThemeService- Returns:
- all custom themes
-
getDefaultTheme
Description copied from interface:BackofficeThemeServiceGet default theme.- Specified by:
getDefaultThemein interfaceBackofficeThemeService- Returns:
- the default theme
-
getThemeLevel
Description copied from interface:BackofficeThemeServiceGet theme level.- Specified by:
getThemeLevelin interfaceBackofficeThemeService- Returns:
- the theme level
-
setThemeLevel
Description copied from interface:BackofficeThemeServiceSet theme level.- Specified by:
setThemeLevelin interfaceBackofficeThemeService- Parameters:
themeLevel- theme level
-
setModelService
-
setUserService
-
setBackofficeThemeConfigDao
-
setDefaultThemeCode
-
setBackofficeThemeDao
-
setCustomThemeService
-