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

Quick Search    Search Deep

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

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

public class FoldersImpl
extends ServerTableImpl
implements jreceiver.common.rpc.Folders

Folder-related queries to a remote server via XML-RPC.

Version:
$Revision: 1.5 $ $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.Folders
FIND_PARENT, GET_CHILD_KEYS, GET_ROOT_KEYS, 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
FoldersImpl(java.net.URL remote_host, jreceiver.common.rec.security.User user)
          ctor for this implementation
 
Method Summary
 int findParent(int folder_id, java.util.Set folders)
          see interface for description and behavior
 java.util.Vector getChildKeys(int parent_id, java.lang.String order_by, boolean recurse, int rec_offset, int rec_count)
          Obtain a list of folder_ids which represent the children of the folder associated with parent_id.
 java.util.Vector getRootKeys(java.lang.String order_by, int rec_offset, int rec_count)
          Obtain a list of folder_ids which represent the root folders
 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, reconstituteKey, 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

FoldersImpl

public FoldersImpl(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

getChildKeys

public java.util.Vector getChildKeys(int parent_id,
                                     java.lang.String order_by,
                                     boolean recurse,
                                     int rec_offset,
                                     int rec_count)
                              throws jreceiver.common.rpc.RpcException
Obtain a list of folder_ids which represent the children of the folder associated with parent_id.

Specified by:
getChildKeys in interface jreceiver.common.rpc.Folders

getRootKeys

public java.util.Vector getRootKeys(java.lang.String order_by,
                                    int rec_offset,
                                    int rec_count)
                             throws jreceiver.common.rpc.RpcException
Obtain a list of folder_ids which represent the root folders

Specified by:
getRootKeys in interface jreceiver.common.rpc.Folders

findParent

public int findParent(int folder_id,
                      java.util.Set folders)
               throws jreceiver.common.rpc.RpcException
see interface for description and behavior

Specified by:
findParent in interface jreceiver.common.rpc.Folders