|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pebble.domain.Theme
public class Theme
Represents the user's editable theme.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_THEME_NAME
the name of the theme that should be used as a default |
| Constructor Summary | |
|---|---|
Theme(Blog blog,
java.lang.String name,
java.lang.String pathToLiveThemes)
Creates a new Theme instance with the specified details. |
|
| Method Summary | |
|---|---|
void |
backup()
Backs up the theme from the webapp to the blog.dir. |
java.lang.String |
getName()
Gets the name of this theme. |
java.io.File |
getPathToLiveTheme()
|
void |
restore()
Restores the theme from the blog.dir to the webapp. |
void |
restore(java.lang.String themeName)
Restores the theme from the blog.dir to the webapp. |
void |
restoreToSpecifiedTheme(java.lang.String themeName)
Restores the theme from the blog.dir to the webapp. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_THEME_NAME
| Constructor Detail |
|---|
public Theme(Blog blog,
java.lang.String name,
java.lang.String pathToLiveThemes)
blog - the owning Blog instancename - the name of the themepathToLiveThemes - the path to the live themes| Method Detail |
|---|
public java.io.File getPathToLiveTheme()
public void restore()
public void restore(java.lang.String themeName)
public void restoreToSpecifiedTheme(java.lang.String themeName)
public void backup()
public java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||