gov.nih.nci.cagrid.caarray.service
Class CaArraySvcImpl

java.lang.Object
  extended by gov.nih.nci.cagrid.caarray.service.CaArraySvcImplBase
      extended by gov.nih.nci.cagrid.caarray.service.CaArraySvcImpl

public class CaArraySvcImpl
extends CaArraySvcImplBase

Primary service side implementation of the remote caArray API. This implementation delegates to the various remote EJB services.

See Also:
ArrayDesignDetailsService, DataRetrievalService, FileRetrievalService

Constructor Summary
CaArraySvcImpl()
          Constructs the service implementation.
 
Method Summary
 org.cagrid.transfer.context.stubs.types.TransferServiceContextReference createFileTransfer(CaArrayFile caArrayFile)
           
 DataSet getDataSet(DataRetrievalRequest dataRetrievalRequest)
           
 ArrayDesignDetails getDesignDetails(ArrayDesign arrayDesign)
          Returns complete details of all design elements and relationships for the requested design.
 byte[] readFile(CaArrayFile caArrayFile)
          Returns the bytes of the requested file's contents.
 
Methods inherited from class gov.nih.nci.cagrid.caarray.service.CaArraySvcImplBase
getConfiguration, getResourceHome, getResourceHome
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaArraySvcImpl

public CaArraySvcImpl()
               throws java.rmi.RemoteException
Constructs the service implementation.

Throws:
java.rmi.RemoteException - if unable to connect to the remote EJBs
Method Detail

getDesignDetails

public ArrayDesignDetails getDesignDetails(ArrayDesign arrayDesign)
                                    throws java.rmi.RemoteException
Returns complete details of all design elements and relationships for the requested design.

Parameters:
design - get details for this design
Returns:
the design details.
Throws:
java.rmi.RemoteException
See Also:
ArrayDesignDetailsService

readFile

public byte[] readFile(CaArrayFile caArrayFile)
                throws java.rmi.RemoteException
Returns the bytes of the requested file's contents.

Parameters:
caArrayFile - the caArray file to retrieve
Returns:
file contents
Throws:
java.rmi.RemoteException
See Also:
FileRetrievalService

getDataSet

public DataSet getDataSet(DataRetrievalRequest dataRetrievalRequest)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createFileTransfer

public org.cagrid.transfer.context.stubs.types.TransferServiceContextReference createFileTransfer(CaArrayFile caArrayFile)
                                                                                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException