Package | Description |
---|---|
org.exoplatform.commons.api.settings |
Provides the API for the Setting service.
|
org.exoplatform.commons.api.settings.data |
Provides enum types and classes for key specifications in the Setting service.
|
Modifier and Type | Method and Description |
---|---|
static SettingValue<Boolean> |
SettingValue.create(Boolean value)
Creates a setting value object of the Boolean type.
|
static SettingValue<Double> |
SettingValue.create(Double value)
Creates a setting value object of the Double type.
|
static SettingValue<Long> |
SettingValue.create(Long value)
Creates a setting value object of the Long type.
|
static SettingValue<String> |
SettingValue.create(String value)
Creates a setting value object of the String type.
|
SettingValue<?> |
SettingService.get(Context context,
Scope scope,
String key)
Gets values associated with a specified composite key (context, scope, key) in
the database.
|
Modifier and Type | Method and Description |
---|---|
void |
SettingService.set(Context context,
Scope scope,
String key,
SettingValue<?> value)
Sets a value with the key that is composed by context, scope,
key.
|
Modifier and Type | Method and Description |
---|---|
SettingValue<?> |
SettingData.getSettingValue()
Gets a setting value of setting property associated with the setting data.
|
Modifier and Type | Method and Description |
---|---|
void |
SettingData.setSettingValue(SettingValue<?> settingValue)
Sets a setting value of setting property (SettingKey) associated with the setting data.
|
Constructor and Description |
---|
SettingData(EventType eventType,
SettingContext settingContext,
SettingValue<?> settingValue)
Creates the setting data with the specified event type and setting properties.
|
Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.