|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Scope | |
|---|---|
| org.exoplatform.commons.api.settings | Provides the API for setting service. |
| org.exoplatform.commons.api.settings.data | Provides enum type and classes for key specifications in 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)
get values associated with the composite key (context,scope,key) in the database |
void |
SettingService.remove(Context context,
Scope scope)
remove all the value associated with the specified context and specified scope in the database. |
void |
SettingService.remove(Context context,
Scope scope,
String key)
remove the SettingValue associated with the specified composite key |
void |
SettingService.set(Context context,
Scope scope,
String key,
SettingValue<?> value)
set the specified value with the key which 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()
get scope value of setting-scope |
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)
Build path of a specified setting property stored in database |
static String |
Tools.buildScopePath(Context context,
Scope scope)
Build the path to a specified scope in database |
| Constructors in org.exoplatform.commons.api.settings.data with parameters of type Scope | |
|---|---|
SettingKey(Context context,
Scope scope,
String key)
Create setting key with composite key [context,scope,key] |
|
SettingScope(Context context,
Scope scope)
Create setting scope object with composite key [context,scope] |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||