Modifier and Type | Method and Description |
---|---|
Theme |
restoreDefaultTheme(ThemeType type)
Restore the default theme.
|
Theme |
setCustomTheme(byte[] content,
byte[] cssContent,
ThemeType type)
Update a custom theme, if it exists; otherwise create it.
|
getCurrentTheme, getDefaultTheme, getLastUpdateDate
Theme setCustomTheme(byte[] content, byte[] cssContent, ThemeType type) throws SetThemeException
content
- The zip file associated with this theme, as a binary content.cssContent
- The CSS file associated with this theme, as a binary content.type
- The type of the themeSetThemeException
- If can't set themeInvalidSessionException
- If the session is invalid (expired, unknown, ...)Theme restoreDefaultTheme(ThemeType type) throws RestoreThemeException
type
- The type of the theme to restoreRestoreThemeException
- If can't restore default themeCopyright © 2020 Bonitasoft S.A. All rights reserved.