org.pentaho.platform.api.repository.datasource
Interface IDatasourceMgmtService

All Superinterfaces:
IPentahoInitializer
All Known Implementing Classes:
DatasourceMgmtService

public interface IDatasourceMgmtService
extends IPentahoInitializer


Field Summary
static String IDATASOURCEMGMTSERVICE
           
 
Method Summary
 void createDatasource(IDatasource newDataSource)
           
 void deleteDatasource(IDatasource dataSource)
           
 void deleteDatasource(String jndiName)
           
 IDatasource getDatasource(String JndiName)
           
 List<IDatasource> getDatasources()
           
 void updateDatasource(IDatasource datasource)
           
 
Methods inherited from interface org.pentaho.platform.api.engine.IPentahoInitializer
init
 

Field Detail

IDATASOURCEMGMTSERVICE

static final String IDATASOURCEMGMTSERVICE
See Also:
Constant Field Values
Method Detail

createDatasource

void createDatasource(IDatasource newDataSource)
                      throws DuplicateDatasourceException,
                             DatasourceMgmtServiceException
Throws:
DuplicateDatasourceException
DatasourceMgmtServiceException

deleteDatasource

void deleteDatasource(String jndiName)
                      throws NonExistingDatasourceException,
                             DatasourceMgmtServiceException
Throws:
NonExistingDatasourceException
DatasourceMgmtServiceException

deleteDatasource

void deleteDatasource(IDatasource dataSource)
                      throws NonExistingDatasourceException,
                             DatasourceMgmtServiceException
Throws:
NonExistingDatasourceException
DatasourceMgmtServiceException

getDatasource

IDatasource getDatasource(String JndiName)
                          throws DatasourceMgmtServiceException
Throws:
DatasourceMgmtServiceException

getDatasources

List<IDatasource> getDatasources()
                                 throws DatasourceMgmtServiceException
Throws:
DatasourceMgmtServiceException

updateDatasource

void updateDatasource(IDatasource datasource)
                      throws NonExistingDatasourceException,
                             DatasourceMgmtServiceException
Throws:
NonExistingDatasourceException
DatasourceMgmtServiceException