jreceiver.common.rpc
Interface Roots

All Superinterfaces:
RpcBase, ServerTable

public interface Roots
extends ServerTable

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

Version:
$Revision: 1.3 $ $Date: 2002/07/31 11:29:41 $
Author:
Reed Esau

Field Summary
static java.lang.String HANDLER_NAME
           
static java.lang.String VALIDATE
           
 
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
 
Method Summary
 java.lang.String validate(java.io.File root_pathname)
          Test to see that the target exists and that it is not a child of any of the existing roots, or (visa-versa) if any of the roots is a child of target.
 
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
 

Field Detail

HANDLER_NAME

public static final java.lang.String HANDLER_NAME

VALIDATE

public static final java.lang.String VALIDATE
Method Detail

validate

public java.lang.String validate(java.io.File root_pathname)
                          throws RpcException
Test to see that the target exists and that it is not a child of any of the existing roots, or (visa-versa) if any of the roots is a child of target.

Parameters:
root_pathname -  
Returns:
If a conflict exists, a non-blank string is returned with a brief description of the validation problem. Blank if successful.
Throws:
RpcException -  


Copyright © 2001-2002 Reed Esau, All Rights Reserved.