public interface VaadinThemeDao extends com.whitestein.lsps.common.BasicDao<VaadinTheme,Long>
Modifier and Type | Method and Description |
---|---|
void |
delete(String name)
Deletes the theme from the database.
|
List<VaadinTheme> |
findAll() |
List<String> |
getAllThemeNames()
Returns names of all themes, currently available in the database.
|
byte[] |
getZip(String name)
Returns the current Vaadin theme zip, based on the theme name.
|
void |
update(String name,
byte[] zip)
Updates the theme, creating it if it does not exist.
|
void update(String name, byte[] zip)
name
- the theme name, not null.zip
- the Vaadin theme zip contents, not null. The zip's root contains the styles.css file.void delete(String name)
name
- the theme name, not null.byte[] getZip(String name)
name
- the theme name, not null.List<String> getAllThemeNames()
List<VaadinTheme> findAll()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.