|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataSourceDAO
Defines the interfaces for all methods needed to insert, modify and deleting an engine.
Method Summary | |
---|---|
void |
eraseDataSource(it.eng.spagobi.tools.datasource.bo.IDataSource aDataSource)
Implements the query to erase a data source. |
boolean |
hasBIEngineAssociated(java.lang.String dsId)
Tells if a data source is associated to any BI Engines. |
boolean |
hasBIObjAssociated(java.lang.String dsId)
Tells if a data source is associated to any BI Object. |
void |
insertDataSource(it.eng.spagobi.tools.datasource.bo.IDataSource aDataSource)
Implements the query to insert a data source. |
java.util.List |
loadAllDataSources()
Loads all detail information for all data sources. |
it.eng.spagobi.tools.datasource.bo.DataSource |
loadDataSourceByID(java.lang.Integer dsID)
Loads all detail information for a data source identified by its dsID . |
it.eng.spagobi.tools.datasource.bo.IDataSource |
loadDataSourceByLabel(java.lang.String label)
Loads all detail information for data source whose label is equal to label . |
void |
modifyDataSource(it.eng.spagobi.tools.datasource.bo.IDataSource aDataSource)
Implements the query to modify a data source. |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setTenant, setUserID, setUserProfile |
Method Detail |
---|
it.eng.spagobi.tools.datasource.bo.DataSource loadDataSourceByID(java.lang.Integer dsID) throws it.eng.spago.error.EMFUserError
dsID
.
All these information, achived by a query to the DB, are stored
into a datasource
object, which is returned.
dsID
- The id for the datasource to load
datasource
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.tools.datasource.bo.IDataSource loadDataSourceByLabel(java.lang.String label) throws it.eng.spago.error.EMFUserError
label
.
label
- The label for the data source to load
datasource
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAllDataSources() throws it.eng.spago.error.EMFUserError
datasource
object. After that, all data sources
are stored into a List
, which is returned.
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyDataSource(it.eng.spagobi.tools.datasource.bo.IDataSource aDataSource) throws it.eng.spago.error.EMFUserError
datasource
object.
aDataSource
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertDataSource(it.eng.spagobi.tools.datasource.bo.IDataSource aDataSource) throws it.eng.spago.error.EMFUserError
datasource
object.
aDataSource
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseDataSource(it.eng.spagobi.tools.datasource.bo.IDataSource aDataSource) throws it.eng.spago.error.EMFUserError
datasource
object.
aDataSource
- The object containing all delete information
it.eng.spago.error.EMFUserError
- If an Exception occurredboolean hasBIEngineAssociated(java.lang.String dsId) throws it.eng.spago.error.EMFUserError
dsId
- The datasource identifier
it.eng.spago.error.EMFUserError
- If any exception occurredboolean hasBIObjAssociated(java.lang.String dsId) throws it.eng.spago.error.EMFUserError
dsId
- The datasource identifier
it.eng.spago.error.EMFUserError
- If any exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |