public interface ThemeService extends CRUDService<ThemeDTO,ThemeData,ThemeDataParams>
| Modifier and Type | Method and Description |
|---|---|
void |
applyThemes(java.lang.Long configurationId,
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(java.lang.Long configurationId)
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(java.lang.Long configurationId,
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(java.lang.Long configurationId)
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(java.lang.Long configurationId,
java.lang.Long usersThemeId,
java.lang.Long guestsThemeId,
java.lang.Long mobileThemeId)
throws FrameworkException
FrameworkException@GwtIncompatible SerializableInputStream export(java.lang.Long id) throws FrameworkException
FrameworkException@GwtIncompatible java.lang.String getCSS(java.lang.Long id) throws FrameworkException
FrameworkExceptionThemesListData getListData(java.lang.Long configurationId) throws FrameworkException
FrameworkExceptionThemeVO getVO(java.lang.Long id) throws FrameworkException
FrameworkException@GwtIncompatible java.lang.Long importNew(java.lang.Long configurationId, java.lang.String importedFromFile, SerializableInputStream in) throws FrameworkException, FileParsingException
java.util.List<ThemeVO> list(java.lang.Long configurationId) throws FrameworkException
FrameworkException