org.pentaho.platform.dataaccess.datasource.wizard.service.gwt
Interface IConnectionService
- All Known Subinterfaces: 
- IGwtConnectionService
- All Known Implementing Classes: 
- ConnectionDebugGwtServlet, ConnectionServiceClient, ConnectionServiceImpl, InMemoryConnectionServiceImpl
- public interface IConnectionService 
The IConnectionService interface is used as a GWT and XML webservice.  It 
 is also used by the Datasource Service to map a name to an IConnection.
 
getConnections
List<IConnection> getConnections()
                                 throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
getConnectionByName
IConnection getConnectionByName(String name)
                                throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
addConnection
boolean addConnection(IConnection connection)
                      throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
updateConnection
boolean updateConnection(IConnection connection)
                         throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
deleteConnection
boolean deleteConnection(IConnection connection)
                         throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
deleteConnection
boolean deleteConnection(String name)
                         throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
testConnection
boolean testConnection(IConnection connection)
                       throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
convertToConnection
IConnection convertToConnection(IDatabaseConnection connection)
                                throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException
 
convertFromConnection
IDatabaseConnection convertFromConnection(IConnection connection)
                                          throws ConnectionServiceException
- 
- Throws:
- ConnectionServiceException