com.sun.xml.registry.ebxml
Class DeclarativeQueryManagerImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.QueryManagerImpl
      extended bycom.sun.xml.registry.ebxml.DeclarativeQueryManagerImpl
All Implemented Interfaces:
javax.xml.registry.DeclarativeQueryManager, javax.xml.registry.QueryManager

public class DeclarativeQueryManagerImpl
extends QueryManagerImpl
implements javax.xml.registry.DeclarativeQueryManager

Class Declaration for Class1


Field Summary
 
Fields inherited from class com.sun.xml.registry.ebxml.QueryManagerImpl
callersUser, dqm, lcm, regService
 
Method Summary
 javax.xml.registry.Query createQuery(int queryType, java.lang.String queryString)
          Creates a Query object given a queryType (e.g.
 javax.xml.registry.BulkResponse executeQuery(javax.xml.registry.Query query)
          Execute a query as specified by query paramater.
 
Methods inherited from class com.sun.xml.registry.ebxml.QueryManagerImpl
getCallersRegistryObjects, getCallersUser, getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.registry.QueryManager
getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService
 

Method Detail

createQuery

public javax.xml.registry.Query createQuery(int queryType,
                                            java.lang.String queryString)
                                     throws javax.xml.registry.InvalidRequestException,
                                            javax.xml.registry.JAXRException
Creates a Query object given a queryType (e.g. SQL) and a String that represents a query in the syntax appropriate for queryType. Must throw and InvalidRequestException if the sqlQuery is not valid.

Capability Level: 0 (optional)

Specified by:
createQuery in interface javax.xml.registry.DeclarativeQueryManager
Throws:
javax.xml.registry.InvalidRequestException
javax.xml.registry.JAXRException
See Also:
Query.QUERY_TYPE_SQL, Query.QUERY_TYPE_XQUERY

executeQuery

public javax.xml.registry.BulkResponse executeQuery(javax.xml.registry.Query query)
                                             throws javax.xml.registry.JAXRException
Execute a query as specified by query paramater.

Capability Level: 0 (optional)

Specified by:
executeQuery in interface javax.xml.registry.DeclarativeQueryManager
Throws:
javax.xml.registry.JAXRException


Copyright © 2001-2004 OASIS. All Rights Reserved.