it.eng.spagobi.services.datasource.service
Class DataSourceSupplier

java.lang.Object
  extended by it.eng.spagobi.services.datasource.service.DataSourceSupplier

public class DataSourceSupplier
extends java.lang.Object


Constructor Summary
DataSourceSupplier()
           
 
Method Summary
 SpagoBiDataSource[] getAllDataSource()
          Gets the all data source.
 SpagoBiDataSource getDataSource(java.lang.String documentId)
          Gets the data source.
 SpagoBiDataSource getDataSourceByLabel(java.lang.String dsLabel)
          Gets the data source by label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceSupplier

public DataSourceSupplier()
Method Detail

getDataSource

public SpagoBiDataSource getDataSource(java.lang.String documentId)
Gets the data source.

Parameters:
documentId - the document id
Returns:
the data source

getDataSourceByLabel

public SpagoBiDataSource getDataSourceByLabel(java.lang.String dsLabel)
Gets the data source by label.

Parameters:
dsLabel - the ds label
Returns:
the data source by label

getAllDataSource

public SpagoBiDataSource[] getAllDataSource()
Gets the all data source.

Returns:
the all data source