net.sf.basedb.ws.server
Class BioAssaySetService
java.lang.Object
net.sf.basedb.ws.server.AbstractRPCService
net.sf.basedb.ws.server.BioAssaySetService
public class BioAssaySetService
- extends AbstractRPCService
Web service for BioAssaySet BioAssaySet
.
This class provides services to get information and data from BioAssaySet.
- Version:
- 2.5
- Author:
- Martin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIAL_BASEFILE
private static final String SERIAL_BASEFILE
- See Also:
- Constant Field Values
MATRIX_BASEFILE
private static final String MATRIX_BASEFILE
- See Also:
- Constant Field Values
MEV
private static final String MEV
- See Also:
- Constant Field Values
BioAssaySetService
public BioAssaySetService()
getExportFormats
public String[] getExportFormats(String ID)
- Gets the available file formats a bioassay set can be exported in
through webservices.
- Parameters:
ID
- A string that identify the active session
- Returns:
- A string-array with the available formats or
null if there is no active session.
downloadBioAssaySet
public org.apache.axiom.om.OMElement downloadBioAssaySet(String ID,
int bioAssaySetId,
String format,
String[] reporterFieldArray,
String[] spotFieldArray,
Boolean mergeReporters)
throws Exception
- Returns an OMElement with an attached file that contains the exported bioassay set.
Different file formats to export the bioassay set is available
There may be some parameters that needs to be configured
depending on the selected file format.
- Parameters:
ID
- An id to identify the active session withbioAssaySetId
- The id of the bioassay-set, which should be exported.format
- File format of which the bioassay set should be exported in.
Available formats are:
reporterFieldArray
- The reporter fields to include in the exportspotFieldArray
- The spot fields to include in the exportmergeReporters
- TRUE to merge spot data having the same reporter.
see BioAssaySetExporter
- Returns:
- An OMElement containing the exported file or
NULL if there an exception is thrown.
- Throws:
Exception
- If the data could not be exported to the file.
getAnnotations
public AnnotationInfo[] getAnnotations(String ID,
int bioAssaySetId,
Integer[] annotationTypes,
boolean findInherited)
- Get the annotation values for one or more annotation types.
- Parameters:
ID
- Id of the active session.bioAssaySetId
- Id of the bioassay set it concernsannotationTypes
- Array with the ID of the annotation typesfindInherited
- TRUE to look among inherited annotations, FALSE to only look
at primary annotations
- Returns:
- An array with AnnotationInfo object, each element in the array
corresponds to the annotation type with the same index in the annotationTypes array