Class DatasourceMgmtToWebServiceAdapter
- java.lang.Object
-
- org.pentaho.platform.repository.webservices.DatasourceMgmtToWebServiceAdapter
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IPentahoInitializer
,org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
public class DatasourceMgmtToWebServiceAdapter extends Object implements org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
-
Constructor Summary
Constructors Constructor Description DatasourceMgmtToWebServiceAdapter(IDatasourceMgmtWebService datasourceMgmtWebService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createDatasource(org.pentaho.database.model.IDatabaseConnection databaseConnection)
void
deleteDatasourceById(String id)
void
deleteDatasourceByName(String name)
org.pentaho.database.model.IDatabaseConnection
getDatasourceById(String id)
org.pentaho.database.model.IDatabaseConnection
getDatasourceByName(String name)
List<String>
getDatasourceIds()
List<org.pentaho.database.model.IDatabaseConnection>
getDatasources()
void
init(org.pentaho.platform.api.engine.IPentahoSession session)
String
updateDatasourceById(String id, org.pentaho.database.model.IDatabaseConnection databaseConnection)
String
updateDatasourceByName(String name, org.pentaho.database.model.IDatabaseConnection databaseConnection)
-
-
-
Constructor Detail
-
DatasourceMgmtToWebServiceAdapter
public DatasourceMgmtToWebServiceAdapter(IDatasourceMgmtWebService datasourceMgmtWebService)
-
-
Method Detail
-
init
public void init(org.pentaho.platform.api.engine.IPentahoSession session)
- Specified by:
init
in interfaceorg.pentaho.platform.api.engine.IPentahoInitializer
-
createDatasource
public String createDatasource(org.pentaho.database.model.IDatabaseConnection databaseConnection)
- Specified by:
createDatasource
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
deleteDatasourceByName
public void deleteDatasourceByName(String name)
- Specified by:
deleteDatasourceByName
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
getDatasourceByName
public org.pentaho.database.model.IDatabaseConnection getDatasourceByName(String name)
- Specified by:
getDatasourceByName
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
getDatasources
public List<org.pentaho.database.model.IDatabaseConnection> getDatasources()
- Specified by:
getDatasources
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
updateDatasourceByName
public String updateDatasourceByName(String name, org.pentaho.database.model.IDatabaseConnection databaseConnection)
- Specified by:
updateDatasourceByName
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
deleteDatasourceById
public void deleteDatasourceById(String id)
- Specified by:
deleteDatasourceById
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
getDatasourceById
public org.pentaho.database.model.IDatabaseConnection getDatasourceById(String id)
- Specified by:
getDatasourceById
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
getDatasourceIds
public List<String> getDatasourceIds()
- Specified by:
getDatasourceIds
in interfaceorg.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
-