org.pentaho.platform.api.repository.datasource
Interface IDatasourceMgmtService
- All Superinterfaces:
- IPentahoInitializer
- All Known Implementing Classes:
- DatasourceMgmtService
public interface IDatasourceMgmtService
- extends IPentahoInitializer
IDATASOURCEMGMTSERVICE
static final String IDATASOURCEMGMTSERVICE
- See Also:
- Constant Field Values
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