Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jreceiver.common.rpc
Interface Settings  view Settings download Settings.java

All Superinterfaces:
RpcBase

public interface Settings
extends RpcBase

Settings-related queries and updates for a (possibly-remote) JRec server

Version:
$Revision: 1.3 $ $Date: 2002/12/29 00:44:08 $

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

HANDLER_NAME

public static final java.lang.String HANDLER_NAME
See Also:
Constant Field Values

GET

public static final java.lang.String GET
See Also:
Constant Field Values

GET_INT

public static final java.lang.String GET_INT
See Also:
Constant Field Values

GET_BOOL

public static final java.lang.String GET_BOOL
See Also:
Constant Field Values

PUT

public static final java.lang.String PUT
See Also:
Constant Field Values

DELETE

public static final java.lang.String DELETE
See Also:
Constant Field Values
Method Detail

get

public java.lang.String get(java.lang.String key)
                     throws RpcException
access to the settings table


get

public java.lang.String get(java.lang.String key,
                            java.lang.String defaultValue)
                     throws RpcException
access to the settings table


getInt

public int getInt(java.lang.String key)
           throws RpcException
access to the settings table and return an int


getInt

public int getInt(java.lang.String key,
                  int defaultValue)
           throws RpcException
access to the settings table and return an int


getBool

public boolean getBool(java.lang.String key)
                throws RpcException
access to the settings table and return an boolean


getBool

public boolean getBool(java.lang.String key,
                       boolean defaultValue)
                throws RpcException
access to the settings table and return an boolean


put

public void put(java.lang.String key,
                int value)
         throws RpcException
insert or update an integer settings value


put

public void put(java.lang.String key,
                boolean value)
         throws RpcException
insert or update an boolean settings value


put

public void put(java.lang.String key,
                java.lang.String value)
         throws RpcException
insert or update a settings value


delete

public void delete(java.lang.String key)
            throws RpcException
remove a settings value