gov.nih.nci.cagrid.caarray.client
Class CaArraySvcClient

java.lang.Object
  extended by ServiceSecurityClient
      extended by gov.nih.nci.cagrid.caarray.client.CaArraySvcClientBase
          extended by gov.nih.nci.cagrid.caarray.client.CaArraySvcClient
All Implemented Interfaces:
CaArraySvcI

public class CaArraySvcClient
extends CaArraySvcClientBase
implements CaArraySvcI

This class is autogenerated, DO NOT EDIT GENERATED GRID SERVICE ACCESS METHODS. This client is generated automatically by Introduce to provide a clean unwrapped API to the service. On construction the class instance will contact the remote service and retrieve it's security metadata description which it will use to configure the Stub specifically for each method call.


Field Summary
 
Fields inherited from class gov.nih.nci.cagrid.caarray.client.CaArraySvcClientBase
consumer, consumerEPR, portType, portTypeMutex
 
Constructor Summary
CaArraySvcClient(org.apache.axis.message.addressing.EndpointReferenceType epr)
           
CaArraySvcClient(org.apache.axis.message.addressing.EndpointReferenceType epr, org.globus.gsi.GlobusCredential proxy)
           
CaArraySvcClient(java.lang.String url)
           
CaArraySvcClient(java.lang.String url, org.globus.gsi.GlobusCredential proxy)
           
 
Method Summary
 org.cagrid.transfer.context.stubs.types.TransferServiceContextReference createFileTransfer(CaArrayFile caArrayFile)
          Requests a Grid Transfer handle for the given file
static java.lang.Object get(CaArraySvcClient client, java.lang.String type, java.lang.String attr, java.lang.String value)
           
 DataSet getDataSet(DataRetrievalRequest dataRetrievalRequest)
           
 ArrayDesignDetails getDesignDetails(ArrayDesign arrayDesign)
           
 org.oasis.wsrf.properties.GetMultipleResourcePropertiesResponse getMultipleResourceProperties(org.oasis.wsrf.properties.GetMultipleResourceProperties_Element params)
           
 org.oasis.wsrf.properties.GetResourcePropertyResponse getResourceProperty(javax.xml.namespace.QName params)
           
static void main(java.lang.String[] args)
           
 gov.nih.nci.cagrid.cqlresultset.CQLQueryResults query(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery)
          The standard caGrid Data Service query method.
 org.oasis.wsrf.properties.QueryResourcePropertiesResponse queryResourceProperties(org.oasis.wsrf.properties.QueryResourceProperties_Element params)
           
 byte[] readFile(CaArrayFile caArrayFile)
           
 byte[] readFileUsingGridTransfer(CaArrayFile file)
           
 java.lang.Object readFileUsingGridTransfer(CaArrayFile file, GridTransferResultHandler handler)
           
static void usage()
           
 
Methods inherited from class gov.nih.nci.cagrid.caarray.client.CaArraySvcClientBase
createPortType, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaArraySvcClient

public CaArraySvcClient(java.lang.String url)
                 throws org.apache.axis.types.URI.MalformedURIException,
                        java.rmi.RemoteException
Throws:
org.apache.axis.types.URI.MalformedURIException
java.rmi.RemoteException

CaArraySvcClient

public CaArraySvcClient(java.lang.String url,
                        org.globus.gsi.GlobusCredential proxy)
                 throws org.apache.axis.types.URI.MalformedURIException,
                        java.rmi.RemoteException
Throws:
org.apache.axis.types.URI.MalformedURIException
java.rmi.RemoteException

CaArraySvcClient

public CaArraySvcClient(org.apache.axis.message.addressing.EndpointReferenceType epr)
                 throws org.apache.axis.types.URI.MalformedURIException,
                        java.rmi.RemoteException
Throws:
org.apache.axis.types.URI.MalformedURIException
java.rmi.RemoteException

CaArraySvcClient

public CaArraySvcClient(org.apache.axis.message.addressing.EndpointReferenceType epr,
                        org.globus.gsi.GlobusCredential proxy)
                 throws org.apache.axis.types.URI.MalformedURIException,
                        java.rmi.RemoteException
Throws:
org.apache.axis.types.URI.MalformedURIException
java.rmi.RemoteException
Method Detail

usage

public static void usage()

main

public static void main(java.lang.String[] args)

readFileUsingGridTransfer

public byte[] readFileUsingGridTransfer(CaArrayFile file)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

readFileUsingGridTransfer

public java.lang.Object readFileUsingGridTransfer(CaArrayFile file,
                                                  GridTransferResultHandler handler)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

get

public static java.lang.Object get(CaArraySvcClient client,
                                   java.lang.String type,
                                   java.lang.String attr,
                                   java.lang.String value)
                            throws gov.nih.nci.cagrid.data.faults.QueryProcessingExceptionType,
                                   gov.nih.nci.cagrid.data.faults.MalformedQueryExceptionType,
                                   java.rmi.RemoteException
Throws:
gov.nih.nci.cagrid.data.faults.QueryProcessingExceptionType
gov.nih.nci.cagrid.data.faults.MalformedQueryExceptionType
java.rmi.RemoteException

query

public gov.nih.nci.cagrid.cqlresultset.CQLQueryResults query(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery)
                                                      throws java.rmi.RemoteException,
                                                             gov.nih.nci.cagrid.data.faults.QueryProcessingExceptionType,
                                                             gov.nih.nci.cagrid.data.faults.MalformedQueryExceptionType
Description copied from interface: CaArraySvcI
The standard caGrid Data Service query method.

Specified by:
query in interface CaArraySvcI
Parameters:
cqlQuery - The CQL query to be executed against the data source.
Returns:
The result of executing the CQL query against the data source.
Throws:
java.rmi.RemoteException
gov.nih.nci.cagrid.data.faults.QueryProcessingExceptionType
gov.nih.nci.cagrid.data.faults.MalformedQueryExceptionType

getDesignDetails

public ArrayDesignDetails getDesignDetails(ArrayDesign arrayDesign)
                                    throws java.rmi.RemoteException
Specified by:
getDesignDetails in interface CaArraySvcI
Throws:
java.rmi.RemoteException

readFile

public byte[] readFile(CaArrayFile caArrayFile)
                throws java.rmi.RemoteException
Specified by:
readFile in interface CaArraySvcI
Throws:
java.rmi.RemoteException

getDataSet

public DataSet getDataSet(DataRetrievalRequest dataRetrievalRequest)
                   throws java.rmi.RemoteException
Specified by:
getDataSet in interface CaArraySvcI
Throws:
java.rmi.RemoteException

createFileTransfer

public org.cagrid.transfer.context.stubs.types.TransferServiceContextReference createFileTransfer(CaArrayFile caArrayFile)
                                                                                           throws java.rmi.RemoteException
Description copied from interface: CaArraySvcI
Requests a Grid Transfer handle for the given file

Specified by:
createFileTransfer in interface CaArraySvcI
Throws:
java.rmi.RemoteException

getMultipleResourceProperties

public org.oasis.wsrf.properties.GetMultipleResourcePropertiesResponse getMultipleResourceProperties(org.oasis.wsrf.properties.GetMultipleResourceProperties_Element params)
                                                                                              throws java.rmi.RemoteException
Specified by:
getMultipleResourceProperties in interface CaArraySvcI
Throws:
java.rmi.RemoteException

getResourceProperty

public org.oasis.wsrf.properties.GetResourcePropertyResponse getResourceProperty(javax.xml.namespace.QName params)
                                                                          throws java.rmi.RemoteException
Specified by:
getResourceProperty in interface CaArraySvcI
Throws:
java.rmi.RemoteException

queryResourceProperties

public org.oasis.wsrf.properties.QueryResourcePropertiesResponse queryResourceProperties(org.oasis.wsrf.properties.QueryResourceProperties_Element params)
                                                                                  throws java.rmi.RemoteException
Specified by:
queryResourceProperties in interface CaArraySvcI
Throws:
java.rmi.RemoteException