|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Settings-related queries and updates for a (possibly-remote) JRec server
Field Summary | |
static java.lang.String |
DELETE
|
static java.lang.String |
GET
|
static java.lang.String |
GET_BOOL
|
static java.lang.String |
GET_INT
|
static java.lang.String |
HANDLER_NAME
|
static java.lang.String |
PUT
|
Fields inherited from interface jreceiver.common.rpc.RpcBase |
DETECT |
Method Summary | |
void |
delete(java.lang.String key)
remove a settings value |
java.lang.String |
get(java.lang.String key)
access to the settings table |
java.lang.String |
get(java.lang.String key,
java.lang.String defaultValue)
access to the settings table |
boolean |
getBool(java.lang.String key)
access to the settings table and return an boolean |
boolean |
getBool(java.lang.String key,
boolean defaultValue)
access to the settings table and return an boolean |
int |
getInt(java.lang.String key)
access to the settings table and return an int |
int |
getInt(java.lang.String key,
int defaultValue)
access to the settings table and return an int |
void |
put(java.lang.String key,
boolean value)
insert or update an boolean settings value |
void |
put(java.lang.String key,
int value)
insert or update an integer settings value |
void |
put(java.lang.String key,
java.lang.String value)
insert or update a settings value |
Methods inherited from interface jreceiver.common.rpc.RpcBase |
detect |
Field Detail |
public static final java.lang.String HANDLER_NAME
public static final java.lang.String GET
public static final java.lang.String GET_INT
public static final java.lang.String GET_BOOL
public static final java.lang.String PUT
public static final java.lang.String DELETE
Method Detail |
public java.lang.String get(java.lang.String key) throws RpcException
public java.lang.String get(java.lang.String key, java.lang.String defaultValue) throws RpcException
public int getInt(java.lang.String key) throws RpcException
public int getInt(java.lang.String key, int defaultValue) throws RpcException
public boolean getBool(java.lang.String key) throws RpcException
public boolean getBool(java.lang.String key, boolean defaultValue) throws RpcException
public void put(java.lang.String key, int value) throws RpcException
public void put(java.lang.String key, boolean value) throws RpcException
public void put(java.lang.String key, java.lang.String value) throws RpcException
public void delete(java.lang.String key) throws RpcException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |