public class Theme extends Object implements Buildable<Theme>, _InternalJSONColumn
Modifier and Type | Class and Description |
---|---|
static class |
Theme.Templates |
Modifier and Type | Field and Description |
---|---|
Map<String,Object> |
data |
String |
defaultMessages |
static UUID |
FUSIONAUTH_THEME_ID |
UUID |
id |
java.time.ZonedDateTime |
insertInstant |
java.time.ZonedDateTime |
lastUpdateInstant |
LocalizedStrings |
localizedMessages |
String |
name |
String |
stylesheet |
Theme.Templates |
templates |
Modifier and Type | Method and Description |
---|---|
Set<Locale> |
additionalLocales() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
message(String key,
Object... arguments)
Looks up a message.
|
boolean |
missingTemplate() |
void |
normalize() |
String |
optionalMessage(String key,
Object... arguments)
Looks up a message, if it does not exist the key is returned.
|
String |
stylesheet() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDataToDatabase, setDataFromDatabase
public static final UUID FUSIONAUTH_THEME_ID
public String defaultMessages
public UUID id
public java.time.ZonedDateTime insertInstant
public java.time.ZonedDateTime lastUpdateInstant
public LocalizedStrings localizedMessages
public String name
public String stylesheet
public Theme.Templates templates
public Theme()
public Theme(Theme theme)
public Set<Locale> additionalLocales()
public String message(String key, Object... arguments)
key
- The key of the message to lookup.arguments
- Optional arguments used to format the message (printf style)/public boolean missingTemplate()
public void normalize()
public String optionalMessage(String key, Object... arguments)
key
- The key of the message to lookup.arguments
- Optional arguments used to format the message (printf style)/public String stylesheet()
Copyright © 2021. All rights reserved.