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 Details

    • DatasourceMgmtToWebServiceAdapter

      public DatasourceMgmtToWebServiceAdapter(IDatasourceMgmtWebService datasourceMgmtWebService)
  • Method Details

    • init

      public void init(org.pentaho.platform.api.engine.IPentahoSession session)
      Specified by:
      init in interface org.pentaho.platform.api.engine.IPentahoInitializer
    • createDatasource

      public String createDatasource(org.pentaho.database.model.IDatabaseConnection databaseConnection)
      Specified by:
      createDatasource in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • deleteDatasourceByName

      public void deleteDatasourceByName(String name)
      Specified by:
      deleteDatasourceByName in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • getDatasourceByName

      public org.pentaho.database.model.IDatabaseConnection getDatasourceByName(String name)
      Specified by:
      getDatasourceByName in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • getDatasources

      public List<org.pentaho.database.model.IDatabaseConnection> getDatasources()
      Specified by:
      getDatasources in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • updateDatasourceByName

      public String updateDatasourceByName(String name, org.pentaho.database.model.IDatabaseConnection databaseConnection)
      Specified by:
      updateDatasourceByName in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • deleteDatasourceById

      public void deleteDatasourceById(String id)
      Specified by:
      deleteDatasourceById in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • getDatasourceById

      public org.pentaho.database.model.IDatabaseConnection getDatasourceById(String id)
      Specified by:
      getDatasourceById in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • getDatasourceIds

      public List<String> getDatasourceIds()
      Specified by:
      getDatasourceIds in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService
    • updateDatasourceById

      public String updateDatasourceById(String id, org.pentaho.database.model.IDatabaseConnection databaseConnection)
      Specified by:
      updateDatasourceById in interface org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService