|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Context | |
|---|---|
| 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 Context in org.exoplatform.commons.api.settings |
|---|
| Methods in org.exoplatform.commons.api.settings with parameters of type Context | |
|---|---|
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)
remove all the value asscociated with the specified context 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 Context in org.exoplatform.commons.api.settings.data |
|---|
| Fields in org.exoplatform.commons.api.settings.data declared as Context | |
|---|---|
protected Context |
SettingContext.context
|
| Methods in org.exoplatform.commons.api.settings.data that return Context | |
|---|---|
Context |
SettingContext.getContext()
get context object associated to this setting-context |
Context |
Context.id(String id)
Create a context with an specify id |
static Context |
Context.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Context[] |
Context.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 Context | |
|---|---|
static String |
Tools.buildContextPath(Context context)
Build path to a specified context in database |
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 Context | |
|---|---|
SettingContext(Context context)
Create a setting context object with a specified context |
|
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 | |||||||||