Interface IQueryApiFacade
-
public interface IQueryApiFacade
Facade for openBIS query service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryTableModel
createReportFromAggregationService(AggregationServiceDescription service, java.util.Map<java.lang.String,java.lang.Object> parameters)
Executes the specified aggregation or ingestion service for the specified parameters and creates a report.QueryTableModel
createReportFromDataSets(ReportDescription reportDescription, java.util.List<java.lang.String> dataSetCodes)
Creates for the specified data sets and specified report description a report.QueryTableModel
createReportFromDataSets(java.lang.String reportKey, java.util.List<java.lang.String> dataSetCodes)
Creates for the specified data sets and specified report key a report.QueryTableModel
executeQuery(long queryID, java.util.Map<java.lang.String,java.lang.String> parameterBindings)
Executes specified query by using specified parameter bindings.IGeneralInformationService
getGeneralInformationService()
Returns a remote access to theIGeneralInformationService
.java.lang.String
getSessionToken()
Return the session token for the logged-in user.java.util.List<AggregationServiceDescription>
listAggregationServices()
List the available aggregation and ingestion servicesjava.util.List<QueryDescription>
listQueries()
Lists all queries the user has access rights.java.util.List<ReportDescription>
listTableReportDescriptions()
Returns meta data for all reporting plugins which deliver a table.void
logout()
Logs current user out.
-
-
-
Method Detail
-
getSessionToken
java.lang.String getSessionToken()
Return the session token for the logged-in user.
-
listQueries
java.util.List<QueryDescription> listQueries()
Lists all queries the user has access rights.
-
executeQuery
QueryTableModel executeQuery(long queryID, java.util.Map<java.lang.String,java.lang.String> parameterBindings)
Executes specified query by using specified parameter bindings.
-
listTableReportDescriptions
java.util.List<ReportDescription> listTableReportDescriptions()
Returns meta data for all reporting plugins which deliver a table.
-
createReportFromDataSets
QueryTableModel createReportFromDataSets(ReportDescription reportDescription, java.util.List<java.lang.String> dataSetCodes)
Creates for the specified data sets and specified report description a report. Available report descriptions can be obtained bylistTableReportDescriptions()
.
-
createReportFromDataSets
QueryTableModel createReportFromDataSets(java.lang.String reportKey, java.util.List<java.lang.String> dataSetCodes)
Creates for the specified data sets and specified report key a report. It groups the data sets by a data store and creates a report for each group of objects on appropriate data store server. Results from the data stores are combined and returned as a result of this method. Available report keys can be obtained bylistTableReportDescriptions()
.
-
getGeneralInformationService
IGeneralInformationService getGeneralInformationService()
Returns a remote access to theIGeneralInformationService
.
-
listAggregationServices
java.util.List<AggregationServiceDescription> listAggregationServices()
List the available aggregation and ingestion services
-
createReportFromAggregationService
QueryTableModel createReportFromAggregationService(AggregationServiceDescription service, java.util.Map<java.lang.String,java.lang.Object> parameters)
Executes the specified aggregation or ingestion service for the specified parameters and creates a report. Available service descriptions can be obtained bylistAggregationServices()
.
-
logout
void logout()
Logs current user out.
-
-