gov.nih.nci.cagrid.data.bdt.service
Class BDTResourceHelper

java.lang.Object
  extended by gov.nih.nci.cagrid.data.service.BaseServiceImpl
      extended by gov.nih.nci.cagrid.data.bdt.service.BDTResourceHelper

public class BDTResourceHelper
extends BaseServiceImpl

BDTResourceHelper Uses the data service base implementation to support the BDT resource

Version:
$Id: BDTResourceHelper.java,v 1.4 2007/06/11 17:05:34 dervin Exp $
Author:
David Ervin

Constructor Summary
BDTResourceHelper(CQLQuery query, java.lang.String classToQNameMapfile, java.io.InputStream wsddInput)
           
 
Method Summary
 void cleanUp()
          Releases resources created by the helper
 org.globus.ws.enumeration.EnumIterator createEnumIterator()
           
 AnyXmlType resultsAsAnyType()
          Returns the result of a query as an any type
 
Methods inherited from class gov.nih.nci.cagrid.data.service.BaseServiceImpl
fireAuditQueryBegins, fireAuditQueryProcessingFailure, fireAuditQueryResults, fireAuditValidationFailure, getCqlDomainValidator, getCqlQueryProcessorConfig, getCqlQueryProcessorInstance, getCqlStructureValidator, getDataServiceConfig, getDomainModel, getResourceProperties, getTypedException, preProcess, shouldValidateCqlStructure, shouldValidateDomainModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BDTResourceHelper

public BDTResourceHelper(CQLQuery query,
                         java.lang.String classToQNameMapfile,
                         java.io.InputStream wsddInput)
                  throws java.rmi.RemoteException,
                         DataServiceInitializationException
Throws:
java.rmi.RemoteException
DataServiceInitializationException
Method Detail

createEnumIterator

public org.globus.ws.enumeration.EnumIterator createEnumIterator()
                                                          throws QueryProcessingExceptionType,
                                                                 MalformedQueryExceptionType
Throws:
QueryProcessingExceptionType
MalformedQueryExceptionType

resultsAsAnyType

public AnyXmlType resultsAsAnyType()
                            throws QueryProcessingException,
                                   MalformedQueryException
Returns the result of a query as an any type

Returns:
The query result
Throws:
QueryProcessingException
MalformedQueryException

cleanUp

public void cleanUp()
Releases resources created by the helper