|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.ws.client.AbstractRPCClient net.sf.basedb.ws.client.BioAssaySetClient
public class BioAssaySetClient
Web service client for BioAssaySetService in BASE.
BioAssaySetService
Field Summary | |
---|---|
private SessionClient |
session
|
Constructor Summary | |
---|---|
BioAssaySetClient(SessionClient session)
Creates new BioAssayClient for a session. |
Method Summary | |
---|---|
InputStream |
downloadBioAssaySet(int bioAssaySetId,
String format,
String[] reporterFields,
String[] spotFields,
boolean mergeReporters)
Deprecated. In 2.12. See BioAssaySetService.downloadBioAssaySet(String, int, String, String[], String[], Boolean)
for more information. Use downloadDataFile(int, String) instead. |
InputStream |
downloadDataFile(int bioAssaySetId,
String dataFileType)
Gets spot data as a file for a bioassay set if it is stored in a file in BASE. |
DataFileTypeInfo[] |
getDataFileTypes(int bioAssaySetId,
QueryOptions qOpt)
Returns information about data file types that are used storing spot data for a bioassay set. |
String[] |
getExportFormats()
Deprecated. In 2.12. Use getDataFileTypes(int, QueryOptions) instead. |
Boolean |
hasDownloadableData(int bioAssaySetId)
Returns if a bioassay set has spot data in the form of files that can be downloaded or not. |
Methods inherited from class net.sf.basedb.ws.client.AbstractRPCClient |
---|
getOperation, getService, getServiceFactory, invokeBlocking, invokeBlocking, invokeBlocking, invokeFileBlocking, setServiceFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final SessionClient session
Constructor Detail |
---|
public BioAssaySetClient(SessionClient session)
session
- Active session.Method Detail |
---|
public String[] getExportFormats() throws org.apache.axis2.AxisFault
getDataFileTypes(int, QueryOptions)
instead.
org.apache.axis2.AxisFault
- If communication with the service fails.public InputStream downloadBioAssaySet(int bioAssaySetId, String format, String[] reporterFields, String[] spotFields, boolean mergeReporters) throws org.apache.axis2.AxisFault, IOException
BioAssaySetService.downloadBioAssaySet(String, int, String, String[], String[], Boolean)
for more information. Use downloadDataFile(int, String)
instead.
bioAssaySetId
- Id of the bioAssay set to exportformat
- Export format to use when exporting the bioassay setreporterFields
- Reporter fields to include in the exportspotFields
- Spot fields to include in the exportmergeReporters
- If the reporters should be merged or not.
org.apache.axis2.AxisFault
- If communication with services fails.
IOException
- If accessing the file files.public Boolean hasDownloadableData(int bioAssaySetId) throws org.apache.axis2.AxisFault
bioAssaySetId
- Id of the bioassay set it concerns.
org.apache.axis2.AxisFault
- If the communication with the webservice fails.public DataFileTypeInfo[] getDataFileTypes(int bioAssaySetId, QueryOptions qOpt) throws org.apache.axis2.AxisFault
bioAssaySetId
- Id of the bioassay set to get the information about.qOpt
- Restrictions and includes to put on the query when getting the information.
org.apache.axis2.AxisFault
- If communication with webservice fails.public InputStream downloadDataFile(int bioAssaySetId, String dataFileType) throws org.apache.axis2.AxisFault, IOException
bioAssaySetId
- Id of bioassay set to get the file fromdataFileType
- The external ID of the data file type to download
org.apache.axis2.AxisFault
- If communication with webservices fails.
IOException
- If writing to the target file fails.
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |