|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SettingService
This Service allow to store and remove a value associated with a key in JCR
| Method Summary | |
|---|---|
SettingValue<?> |
get(Context context,
Scope scope,
String key)
get values associated with the composite key (context,scope,key) in the database |
void |
remove(Context context)
remove all the value asscociated with the specified context in the database |
void |
remove(Context context,
Scope scope)
remove all the value associated with the specified context and specified scope in the database. |
void |
remove(Context context,
Scope scope,
String key)
remove the SettingValue associated with the specified composite key |
void |
set(Context context,
Scope scope,
String key,
SettingValue<?> value)
set the specified value with the key which is composed by context, scope, key. |
| Method Detail |
|---|
void set(Context context,
Scope scope,
String key,
SettingValue<?> value)
context - context with which the specified value is to be associatedscope - scope with which the specified value is to be associatedkey - key with which the specified value is to be associatedvalue - value to be associated with the specified key.
void remove(Context context,
Scope scope,
String key)
context - context with which the specified value is to be associatedscope - scope with which the specified value is to be associatedkey - key with which the specified value is to be associated
void remove(Context context,
Scope scope)
context - context with which the specified value is to be associated.
The context type must be USER and context.id must be not null.scope - scope with which the specified value is to be associated. The
scope.id must be not null.void remove(Context context)
context - context context with which the specified value is to be
associated. The context type must be USER and context.id must be
not null.
SettingValue<?> get(Context context,
Scope scope,
String key)
context - context with which the specified value is to be associated.
The context type must be USER and context.id must be not null.scope - scope with which the specified value is to be associated. The
scope.id must be not null.key - key with which the specified value is to be associated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||