public interface ThemeService extends CRUDService<ThemeDTO,ThemeData,ThemeDataParams>
| Modifier and Type | Method and Description |
|---|---|
void |
applyThemes(@NotNull ApplyThemesDTO params)
Applies the given themes to the given configuration: logged user, guests, mobile and pay application.
|
SerializableInputStream |
export(@NotNull java.lang.Long id)
Exports the given theme
|
java.lang.String |
getCSS(@NotNull java.lang.Long id)
Returns the CSS corresponding to the theme with the given id
|
ThemesListData |
getListData(@NotNull ConfigurationVO configuration)
Returns data to list themes in a configuration
|
ThemeVO |
getTheme(ThemeType type)
Returns the theme for the given type.
|
ThemeVO |
getVO(@NotNull java.lang.Long id)
Returns the
ThemeVO with the given id. |
java.lang.Long |
importNew(@NotNull 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(@NotNull 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(@NotNull
@NotNull ApplyThemesDTO params)
throws FrameworkException
FrameworkExceptionSerializableInputStream export(@NotNull @NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionjava.lang.String getCSS(@NotNull
@NotNull java.lang.Long id)
throws FrameworkException
FrameworkExceptionThemesListData getListData(@NotNull @NotNull ConfigurationVO configuration) throws FrameworkException
FrameworkExceptionThemeVO getTheme(ThemeType type) throws FrameworkException
ThemeType.MAIN_WEB the returned theme depends
on if there is a logged user or not.FrameworkExceptionThemeVO getVO(@NotNull @NotNull java.lang.Long id) throws FrameworkException
ThemeVO with the given id.FrameworkExceptionjava.lang.Long importNew(@NotNull
@NotNull ConfigurationVO configuration,
java.lang.String importedFromFile,
SerializableInputStream in)
throws FrameworkException,
FileParsingException
java.util.List<ThemeVO> list(@NotNull @NotNull ConfigurationVO configuration) throws FrameworkException
FrameworkException