|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SettingService
| Method Summary | |
|---|---|
SettingValue<?> |
get(Context context,
Scope scope,
String key)
|
void |
remove(Context context)
|
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)
return the SettingValue to which the specified composite key is associated or null if the database don't contains the value for the composited 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||