Interface ThemeServiceLocal
-
- All Superinterfaces:
CRUDService<ThemeDTO,ThemeData,ThemeDataParams>,CRUDServiceLocal<Theme,ThemeDTO,ThemeData,ThemeDataParams>,Service,ThemeService
- All Known Implementing Classes:
ThemeServiceImpl
public interface ThemeServiceLocal extends ThemeService, CRUDServiceLocal<Theme,ThemeDTO,ThemeData,ThemeDataParams>
Local interface for themes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCSS(Theme theme)Returns the css content for the givenThemeStringgetDefinition(Theme theme, ThemeDefinition definition)Returns the theme definition value for the given theme, or the default value if not set.StringgetDefinitionsAsString(Theme theme)Returns the (base) definitions as a String containing the LESS variables for the givenThemeList<Theme>importBuiltin()Imports all built-in themes, updating those already importedbooleanisBuiltin(Theme theme)Returns whether a theme is builtinList<Theme>listAll()Lists all themes-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
Methods inherited from interface org.cyclos.services.contentmanagement.ThemeService
applyThemes, export, getCSS, getFallbackCSS, getListData, getTheme, getVO, importNew, list
-
-
-
-
Method Detail
-
getDefinition
String getDefinition(Theme theme, ThemeDefinition definition)
Returns the theme definition value for the given theme, or the default value if not set.
-
getDefinitionsAsString
String getDefinitionsAsString(Theme theme)
Returns the (base) definitions as a String containing the LESS variables for the givenTheme
-
importBuiltin
List<Theme> importBuiltin()
Imports all built-in themes, updating those already imported
-
isBuiltin
boolean isBuiltin(Theme theme)
Returns whether a theme is builtin
-
-