Class DefaultDatasourceMgmtWebService
java.lang.Object
org.pentaho.platform.repository.webservices.DefaultDatasourceMgmtWebService
- All Implemented Interfaces:
IDatasourceMgmtWebService
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
-
Constructor Summary
ConstructorDescriptionNo-arg constructor for when in Pentaho BI Server.DefaultDatasourceMgmtWebService
(org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService datasourceMgmtService) -
Method Summary
Modifier and TypeMethodDescriptioncreateDatasource
(DatabaseConnectionDto dbConnDto) void
void
deleteDatasourceByName
(String name) getDatasourceByName
(String name) updateDatasourceById
(String id, DatabaseConnectionDto databaseConnection) updateDatasourceByName
(String name, DatabaseConnectionDto databaseConnectionDto)
-
Field Details
-
datasourceMgmtService
protected org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService datasourceMgmtService
-
-
Constructor Details
-
DefaultDatasourceMgmtWebService
public DefaultDatasourceMgmtWebService()No-arg constructor for when in Pentaho BI Server. -
DefaultDatasourceMgmtWebService
public DefaultDatasourceMgmtWebService(org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService datasourceMgmtService)
-
-
Method Details
-
createDatasource
- Specified by:
createDatasource
in interfaceIDatasourceMgmtWebService
-
deleteDatasourceByName
- Specified by:
deleteDatasourceByName
in interfaceIDatasourceMgmtWebService
-
getDatasourceByName
- Specified by:
getDatasourceByName
in interfaceIDatasourceMgmtWebService
-
getDatasources
- Specified by:
getDatasources
in interfaceIDatasourceMgmtWebService
-
updateDatasourceByName
- Specified by:
updateDatasourceByName
in interfaceIDatasourceMgmtWebService
-
deleteDatasourceById
- Specified by:
deleteDatasourceById
in interfaceIDatasourceMgmtWebService
-
getDatasourceById
- Specified by:
getDatasourceById
in interfaceIDatasourceMgmtWebService
-
getDatasourceIds
- Specified by:
getDatasourceIds
in interfaceIDatasourceMgmtWebService
-
updateDatasourceById
- Specified by:
updateDatasourceById
in interfaceIDatasourceMgmtWebService
-