edu.ucsb.adl.middleware.rmi
Interface QueryService

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
QueryServiceImpl

public interface QueryService
extends java.rmi.Remote

RMI interface to the ADL query service.

Version:
$Header: /export/home/gjanee/middleware/edu/ucsb/adl/middleware/rmi/RCS/QueryService.java,v 1.1 2001/02/16 00:15:07 gjanee Exp $

$Log: QueryService.java,v $ Revision 1.1 2001/02/16 00:15:07 gjanee Initial revision

Author:
Greg Janée
Alexandria Digital Library

Method Summary
 int performQueryService(java.lang.String queryString)
          Performs the ADL query service.
 

Method Detail

performQueryService

public int performQueryService(java.lang.String queryString)
                        throws MiddlewareException,
                               java.rmi.RemoteException
Performs the ADL query service.

Parameters:
queryString - The query, expressed in XML according to the ADL-query DTD.
Returns:
An integer that identifies both the running query and the associated result set.
Throws:
BadRequestException - If the query is invalid.
NoAuthorizationException - If the request is valid but not allowed.
UnsupportedException - If the request is valid but not supported.
java.rmi.RemoteException - If an RMI error occurs.
InternalErrorException - If the request cannot otherwise be completed.
MiddlewareException