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

Quick Search    Search Deep

jreceiver.common.rpc.xmlrpc
Class DeviceBindingsImpl  view DeviceBindingsImpl download DeviceBindingsImpl.java

java.lang.Object
  extended byjreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl
      extended byjreceiver.common.rpc.xmlrpc.ServerTableImpl
          extended byjreceiver.common.rpc.xmlrpc.DeviceBindingsImpl
All Implemented Interfaces:
jreceiver.common.rpc.DeviceBindings, jreceiver.common.rpc.RpcBase, jreceiver.common.rpc.ServerTable

public class DeviceBindingsImpl
extends ServerTableImpl
implements jreceiver.common.rpc.DeviceBindings

DeviceBinding-definition queries and updates via XML-RPC

Version:
$Revision: 1.3 $ $Date: 2002/07/31 11:29:42 $

Field Summary
 
Fields inherited from class jreceiver.common.rpc.xmlrpc.ServerTableImpl
log
 
Fields inherited from class jreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl
 
Fields inherited from interface jreceiver.common.rpc.DeviceBindings
GET_KEY_COUNT_FOR_DRIVER_BINDING, GET_KEYS_FOR_DRIVER_BINDING, HANDLER_NAME
 
Fields inherited from interface jreceiver.common.rpc.ServerTable
DELETE_RECS, GET_KEY_COUNT, GET_KEYS, GET_REC, GET_RECS, STORE_REC, STORE_RECS
 
Fields inherited from interface jreceiver.common.rpc.RpcBase
DETECT
 
Constructor Summary
DeviceBindingsImpl(java.net.URL remote_host, jreceiver.common.rec.security.User user)
          ctor for this implementation
 
Method Summary
 int getKeyCountForDriverBinding(jreceiver.common.rec.driver.DriverBindingKey drvbind_key)
          Obtain a total count of devbind keys for a driverbind
 java.util.Vector getKeysForDriverBinding(jreceiver.common.rec.driver.DriverBindingKey drvbind_key, java.lang.String order_by, int rec_offset, int rec_count)
          Obtain an ordered range of keys for the specified driverbind.
 jreceiver.common.rec.Key reconstituteKey(java.util.Hashtable hash)
          restore a key object from hashtable form
 jreceiver.common.rec.Rec reconstituteRec(java.util.Hashtable hash)
          restore a rec object from hashtable form
 
Methods inherited from class jreceiver.common.rpc.xmlrpc.ServerTableImpl
deleteRecs, getKeyCount, getKeys, getRec, getRec, getRecs, getRecs, reconstituteKeys, reconstituteRecs, storeRec, storeRecs
 
Methods inherited from class jreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl
detect, execute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jreceiver.common.rpc.ServerTable
deleteRecs, getKeyCount, getKeys, getRec, getRec, getRecs, getRecs, storeRec, storeRecs
 
Methods inherited from interface jreceiver.common.rpc.RpcBase
detect
 

Constructor Detail

DeviceBindingsImpl

public DeviceBindingsImpl(java.net.URL remote_host,
                          jreceiver.common.rec.security.User user)
                   throws jreceiver.common.rpc.RpcException
ctor for this implementation

Method Detail

reconstituteRec

public jreceiver.common.rec.Rec reconstituteRec(java.util.Hashtable hash)
                                         throws jreceiver.common.rec.RecException
restore a rec object from hashtable form

Specified by:
reconstituteRec in class ServerTableImpl

reconstituteKey

public jreceiver.common.rec.Key reconstituteKey(java.util.Hashtable hash)
restore a key object from hashtable form

Overrides:
reconstituteKey in class ServerTableImpl

getKeyCountForDriverBinding

public int getKeyCountForDriverBinding(jreceiver.common.rec.driver.DriverBindingKey drvbind_key)
                                throws jreceiver.common.rpc.RpcException
Obtain a total count of devbind keys for a driverbind

Recommended when traversing large lists.

Specified by:
getKeyCountForDriverBinding in interface jreceiver.common.rpc.DeviceBindings

getKeysForDriverBinding

public java.util.Vector getKeysForDriverBinding(jreceiver.common.rec.driver.DriverBindingKey drvbind_key,
                                                java.lang.String order_by,
                                                int rec_offset,
                                                int rec_count)
                                         throws jreceiver.common.rpc.RpcException
Obtain an ordered range of keys for the specified driverbind.

Recommended when traversing large lists where a complex filter is used.

Specified by:
getKeysForDriverBinding in interface jreceiver.common.rpc.DeviceBindings