|
Cytoscape 3.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceManager
Entry point to access all data sources implemented as OSGi services.
Once someone export DataSource
as an OSGi service, this object
automatically add the source and it is accessible by users.
Method Summary | |
---|---|
boolean |
containsDataSource(DataSource pDataSource)
Check if a DataSource already existed in the DataSourceManager |
boolean |
deleteDataSource(DataSource pDataSource)
Remove a DataSource from the DataSourceManager |
Collection<DataCategory> |
getAllCategories()
Returns all data categories |
Collection<DataSource> |
getAllDataSources()
Returns all data sources registered as OSGi services |
Collection<DataSource> |
getDataSources(DataCategory category)
Returns all data sources under the given category. |
Collection<DataSource> |
getDataSources(String providerName)
Returns all data sources from a data provider |
void |
saveDataSource(DataSource pDataSource)
Save a DataSource to the DataSourceManager |
Method Detail |
---|
Collection<DataSource> getDataSources(DataCategory category)
category
- Category of the data source. Network, Table, etc.
Collection<DataSource> getDataSources(String providerName)
providerName
- name of the data provider
Collection<DataSource> getAllDataSources()
Collection<DataCategory> getAllCategories()
boolean deleteDataSource(DataSource pDataSource)
void saveDataSource(DataSource pDataSource)
boolean containsDataSource(DataSource pDataSource)
|
Cytoscape 3.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |