public class ThemeServiceImpl extends Object implements ThemeService
THEME| Constructor and Description |
|---|
ThemeServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.theme.model.STheme |
createTheme(org.bonitasoft.engine.theme.model.STheme theme) |
void |
deleteTheme(long id) |
void |
deleteTheme(org.bonitasoft.engine.theme.model.STheme theme) |
org.bonitasoft.engine.theme.model.STheme |
getLastModifiedTheme(org.bonitasoft.engine.theme.model.SThemeType type) |
long |
getNumberOfThemes(org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
org.bonitasoft.engine.theme.model.STheme |
getTheme(long id) |
org.bonitasoft.engine.theme.model.STheme |
getTheme(org.bonitasoft.engine.theme.model.SThemeType type,
boolean isDefault) |
void |
restoreDefaultTheme(org.bonitasoft.engine.theme.model.SThemeType type) |
List<org.bonitasoft.engine.theme.model.STheme> |
searchThemes(org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
org.bonitasoft.engine.theme.model.STheme |
updateTheme(org.bonitasoft.engine.theme.model.STheme sTheme,
org.bonitasoft.engine.recorder.model.EntityUpdateDescriptor descriptor) |
public ThemeServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService)
public org.bonitasoft.engine.theme.model.STheme createTheme(org.bonitasoft.engine.theme.model.STheme theme) throws SThemeCreationException
createTheme in interface ThemeServiceSThemeCreationExceptionpublic void deleteTheme(long id)
throws SThemeNotFoundException,
SThemeDeletionException
deleteTheme in interface ThemeServiceSThemeNotFoundExceptionSThemeDeletionExceptionpublic void deleteTheme(org.bonitasoft.engine.theme.model.STheme theme) throws SThemeDeletionException
deleteTheme in interface ThemeServiceSThemeDeletionExceptionpublic void restoreDefaultTheme(org.bonitasoft.engine.theme.model.SThemeType type) throws SRestoreThemeException
restoreDefaultTheme in interface ThemeServiceSRestoreThemeExceptionpublic org.bonitasoft.engine.theme.model.STheme getTheme(org.bonitasoft.engine.theme.model.SThemeType type, boolean isDefault) throws SThemeNotFoundException, SThemeReadException
getTheme in interface ThemeServiceSThemeNotFoundExceptionSThemeReadExceptionpublic org.bonitasoft.engine.theme.model.STheme getTheme(long id) throws SThemeNotFoundException, SThemeReadException
getTheme in interface ThemeServiceSThemeNotFoundExceptionSThemeReadExceptionpublic org.bonitasoft.engine.theme.model.STheme getLastModifiedTheme(org.bonitasoft.engine.theme.model.SThemeType type) throws SThemeNotFoundException, SThemeReadException
getLastModifiedTheme in interface ThemeServiceSThemeNotFoundExceptionSThemeReadExceptionpublic org.bonitasoft.engine.theme.model.STheme updateTheme(org.bonitasoft.engine.theme.model.STheme sTheme, org.bonitasoft.engine.recorder.model.EntityUpdateDescriptor descriptor) throws SThemeUpdateException
updateTheme in interface ThemeServiceSThemeUpdateExceptionpublic long getNumberOfThemes(org.bonitasoft.engine.persistence.QueryOptions queryOptions)
throws org.bonitasoft.engine.persistence.SBonitaReadException
getNumberOfThemes in interface ThemeServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic List<org.bonitasoft.engine.theme.model.STheme> searchThemes(org.bonitasoft.engine.persistence.QueryOptions queryOptions) throws org.bonitasoft.engine.persistence.SBonitaReadException
searchThemes in interface ThemeServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionCopyright © 2014 Bonitasoft S.A.. All rights reserved.