java.lang.Object
jreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl
jreceiver.common.rpc.xmlrpc.ServerTableImpl
jreceiver.common.rpc.xmlrpc.RoleAuthsImpl
- All Implemented Interfaces:
- jreceiver.common.rpc.RoleAuths, jreceiver.common.rpc.RpcBase, jreceiver.common.rpc.ServerTable
- public class RoleAuthsImpl
- extends ServerTableImpl
- implements jreceiver.common.rpc.RoleAuths
RoleAuth-definition queries and updates via XML-RPC
- Version:
- $Revision: 1.3 $ $Date: 2002/09/24 18:40:56 $
| Fields inherited from class jreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl |
|
| Fields inherited from interface jreceiver.common.rpc.RpcBase |
DETECT |
| Methods inherited from class jreceiver.common.rpc.xmlrpc.ServerTableImpl |
deleteRecs, getKeyCount, getKeys, getRec, getRec, getRecs, getRecs, reconstituteKeys, reconstituteRecs, storeRec, storeRecs |
| Methods inherited from interface jreceiver.common.rpc.RpcBase |
detect |
RoleAuthsImpl
public RoleAuthsImpl(java.net.URL remote_host,
jreceiver.common.rec.security.User user)
throws jreceiver.common.rpc.RpcException
- ctor for this implementation
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
getKeyCountForRole
public int getKeyCountForRole(java.lang.String role_id)
throws jreceiver.common.rpc.RpcException
- Obtain a total count of RoleAuth keys for a role
- Specified by:
getKeyCountForRole in interface jreceiver.common.rpc.RoleAuths
getKeysForRole
public java.util.Vector getKeysForRole(java.lang.String role_id,
java.lang.String order_by,
int rec_offset,
int rec_count)
throws jreceiver.common.rpc.RpcException
- Obtain an ordered range of RoleAuth keys for the specified role.
- Specified by:
getKeysForRole in interface jreceiver.common.rpc.RoleAuths
getRecsForMethods
public java.util.Vector getRecsForMethods(jreceiver.common.rec.security.User user,
java.util.Vector method_keys,
java.lang.String order_by,
java.util.Hashtable args)
throws jreceiver.common.rpc.RpcException
- plural - obtain an ordered range of keys for the specified role
- Specified by:
getRecsForMethods in interface jreceiver.common.rpc.RoleAuths
isAuthorized
public boolean isAuthorized(jreceiver.common.rec.security.User user,
jreceiver.common.rec.security.MethodKey method)
throws jreceiver.common.rpc.RpcException
- singular - obtain an ordered range of keys for the specified role
- Specified by:
isAuthorized in interface jreceiver.common.rpc.RoleAuths