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