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

Quick Search    Search Deep

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

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

public class PlaylistsImpl
extends ServerTableImpl
implements jreceiver.common.rpc.Playlists

Dynamic-playlist-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.Playlists
GET_KEY_COUNT_FOR_MASK, GET_KEYS_FOR_MASK, HANDLER_NAME, REFRESH, VALIDATE_FILTER
 
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
PlaylistsImpl(java.net.URL remote_host, jreceiver.common.rec.security.User user)
          ctor for this implementation
 
Method Summary
 int getKeyCountForMask(int pl_mask)
          Obtain a total count of keys for the specified filter.
 java.util.Vector getKeysForMask(int pl_mask, java.lang.String order_by, int rec_offset, int rec_count)
          Obtain an ordered range of keys for the specified mask.
 jreceiver.common.rec.Rec reconstituteRec(java.util.Hashtable hash)
          restore a rec object from hashtable form
 void refresh(java.util.Vector keys)
          see interface for description and behavior
 java.lang.String validateFilter(java.lang.String raw_filter, java.lang.String order_by)
          see interface for description and behavior
 
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

PlaylistsImpl

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

getKeyCountForMask

public int getKeyCountForMask(int pl_mask)
                       throws jreceiver.common.rpc.RpcException
Obtain a total count of keys for the specified filter.

Recommended when traversing large lists.

Specified by:
getKeyCountForMask in interface jreceiver.common.rpc.Playlists

getKeysForMask

public java.util.Vector getKeysForMask(int pl_mask,
                                       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 mask.

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

Specified by:
getKeysForMask in interface jreceiver.common.rpc.Playlists

refresh

public void refresh(java.util.Vector keys)
             throws jreceiver.common.rpc.RpcException
see interface for description and behavior

Specified by:
refresh in interface jreceiver.common.rpc.Playlists

validateFilter

public java.lang.String validateFilter(java.lang.String raw_filter,
                                       java.lang.String order_by)
                                throws jreceiver.common.rpc.RpcException
see interface for description and behavior

Specified by:
validateFilter in interface jreceiver.common.rpc.Playlists