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,
ThemeRetriever themeRetriever) |
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,
ThemeRetriever themeRetriever)
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 long getLastUpdateDate(org.bonitasoft.engine.theme.model.SThemeType type) throws org.bonitasoft.engine.persistence.SBonitaReadException
getLastUpdateDate in interface ThemeServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic 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.SBonitaReadExceptionpublic void start()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
start in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void stop()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
stop in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void pause()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
pause in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void resume()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
resume in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.