public interface ThemeService extends CRUDService<ThemeDTO,ThemeData,ThemeDataParams>
| Modifier and Type | Method and Description |
|---|---|
void |
applyThemes(ConfigurationVO configuration,
java.lang.Long usersThemeId,
java.lang.Long guestsThemeId,
java.lang.Long mobileThemeId)
Applies the given themes to the given configuration: one for logged user, one for guests and another for mobile.
|
SerializableInputStream |
export(java.lang.Long id)
Exports the given theme
|
java.lang.String |
getCSS(java.lang.Long id)
Returns the CSS corresponding to the theme with the given id
|
ThemesListData |
getListData(ConfigurationVO configuration)
Returns data to list themes in a configuration
|
ThemeVO |
getVO(java.lang.Long id)
Loads the theme vo with the given id
|
java.lang.Long |
importNew(ConfigurationVO configuration,
java.lang.String importedFromFile,
SerializableInputStream in)
Import the theme definitions from file, creating it on the given configuration, returning the new theme id
|
java.util.List<ThemeVO> |
list(ConfigurationVO configuration)
Returns a list with visible themes on the given configuration sorted by theme type (first main web themes)
|
getData, getDataForNew, load, remove, removeAll, savevoid applyThemes(ConfigurationVO configuration, java.lang.Long usersThemeId, java.lang.Long guestsThemeId, java.lang.Long mobileThemeId) throws FrameworkException
FrameworkExceptionSerializableInputStream export(java.lang.Long id) throws FrameworkException
FrameworkExceptionjava.lang.String getCSS(java.lang.Long id)
throws FrameworkException
FrameworkExceptionThemesListData getListData(ConfigurationVO configuration) throws FrameworkException
FrameworkExceptionThemeVO getVO(java.lang.Long id) throws FrameworkException
FrameworkExceptionjava.lang.Long importNew(ConfigurationVO configuration, java.lang.String importedFromFile, SerializableInputStream in) throws FrameworkException, FileParsingException
java.util.List<ThemeVO> list(ConfigurationVO configuration) throws FrameworkException
FrameworkException