it.eng.spagobi.services.proxy
Class DataSourceServiceProxy

java.lang.Object
  extended by it.eng.spagobi.services.proxy.AbstractServiceProxy
      extended by it.eng.spagobi.services.proxy.DataSourceServiceProxy

public final class DataSourceServiceProxy
extends AbstractServiceProxy

This is a proxy for using the Data Source Service: Ex. DataSourceServiceProxy proxyDS=new DataSourceServiceProxy(); SpagoBiDataSource ds=proxyDS.getDataSource("2"); logger.debug("DS="+ds.getJndiName());


Field Summary
 
Fields inherited from class it.eng.spagobi.services.proxy.AbstractServiceProxy
isSecure, serviceUrl, userId
 
Constructor Summary
DataSourceServiceProxy(java.lang.String user, javax.servlet.http.HttpSession session)
          The Constructor.
 
Method Summary
 IDataSource getDataSource(java.lang.String documentId)
          Return the SpagoBiDataSource object, contains the information about the DWH connection.
 IDataSource getDataSourceByLabel(java.lang.String label)
          Return the SpagoBiDataSource object, contains the information about the DWH connection.
 
Methods inherited from class it.eng.spagobi.services.proxy.AbstractServiceProxy
init, readTicket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceServiceProxy

public DataSourceServiceProxy(java.lang.String user,
                              javax.servlet.http.HttpSession session)
The Constructor.

Parameters:
user - User ID utente
session - Sessione http
Method Detail

getDataSource

public IDataSource getDataSource(java.lang.String documentId)
Return the SpagoBiDataSource object, contains the information about the DWH connection.

Parameters:
documentId - document id
Returns:
SpagoBiDataSource object

getDataSourceByLabel

public IDataSource getDataSourceByLabel(java.lang.String label)
Return the SpagoBiDataSource object, contains the information about the DWH connection.

Parameters:
label - document label
Returns:
SpagoBiDataSource object