|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataService
Remote service for retrieving file and parsed data. Used by the grid service, and can also be used directly by EJB clients.
Field Summary | |
---|---|
static java.lang.String |
JNDI_NAME
The JNDI name to look up this Remote EJB under. |
Method Summary | |
---|---|
MageTabFileSet |
exportMageTab(CaArrayEntityReference experimentRef)
Retrieves a set of files containing the MAGE-TAB IDF and SDRF for the experiment identified by the given reference. |
DataSet |
getDataSet(DataSetRequest dataSetRequest)
Retrieves the parsed data set identified by the given request. |
FileStreamableContents |
streamFileContents(CaArrayEntityReference fileRef,
boolean compressed)
Returns a RemoteInputStream through which the client can retrieve the data for the file identified by the given reference. |
Field Detail |
---|
static final java.lang.String JNDI_NAME
Method Detail |
---|
DataSet getDataSet(DataSetRequest dataSetRequest) throws InvalidReferenceException, InvalidInputException, InconsistentDataSetsException
dataSetRequest
- a DataSetRequest instance identifying the parsed data to be retrieved. The request must
specify at least one hybridization or one file, and at least one quantitation type.
InvalidReferenceException
- if any of the hybridization, file or quantitation references in the
dataSetRequest are not valid
InvalidInputException
- if no quantitation type is specified in the request, or if at least one file OR one
hybridization is not specified in the request.
InconsistentDataSetsException
- if the data sets for the hybridizations and/or files in the request are not
consistent, e.g. do not correspond to the same design element list.FileStreamableContents streamFileContents(CaArrayEntityReference fileRef, boolean compressed) throws InvalidReferenceException, DataTransferException
fileRef
- the reference identifying the file to retrieve.compressed
- if true, then the RemoteInputStream will return the contents of the file compressed using Gzip
InvalidReferenceException
- if the fileRef is not a valid file reference.
DataTransferException
- if there is an error streaming the data.MageTabFileSet exportMageTab(CaArrayEntityReference experimentRef) throws InvalidReferenceException, DataTransferException
experimentRef
- reference identifying the experiment
InvalidReferenceException
- if the experimentRef is not a valid experiment reference
DataTransferException
- if there is an error generating the mage-tab file data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |