|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Scope | |
|---|---|
| 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. |
| Uses of Scope in org.exoplatform.commons.api.settings |
|---|
| Methods in org.exoplatform.commons.api.settings with parameters of type Scope | |
|---|---|
SettingValue<?> |
SettingService.get(Context context,
Scope scope,
String key)
Gets values associated with a specified composite key (context, scope, key) in the database. |
void |
SettingService.remove(Context context,
Scope scope)
Removes all values associated with a specified context and scope from the database. |
void |
SettingService.remove(Context context,
Scope scope,
String key)
Removes a value associated with a specified composite key. |
void |
SettingService.set(Context context,
Scope scope,
String key,
SettingValue<?> value)
Sets a value with the key that is composed by context, scope, key. |
| Uses of Scope in org.exoplatform.commons.api.settings.data |
|---|
| Fields in org.exoplatform.commons.api.settings.data declared as Scope | |
|---|---|
protected Scope |
SettingScope.scope
|
| Methods in org.exoplatform.commons.api.settings.data that return Scope | |
|---|---|
Scope |
SettingScope.getScope()
Gets a scope value of the SettingScope object. |
Scope |
Scope.id(String id)
|
static Scope |
Scope.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Scope[] |
Scope.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in org.exoplatform.commons.api.settings.data with parameters of type Scope | |
|---|---|
static String |
Tools.buildFullPath(Context context,
Scope scope,
String key)
Builds a path of a specified setting property stored in the database. |
static String |
Tools.buildScopePath(Context context,
Scope scope)
Builds a path of a specified scope in the database. |
| Constructors in org.exoplatform.commons.api.settings.data with parameters of type Scope | |
|---|---|
SettingKey(Context context,
Scope scope,
String key)
Creates a SettingKey with a composite value [context, scope, key]. |
|
SettingScope(Context context,
Scope scope)
Creates a setting scope object with a composite key [context, scope]. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||