org.pentaho.platform.dataaccess.datasource.wizard.service.impl
Class ConnectionServiceConcrete
java.lang.Object
org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceConcrete
public class ConnectionServiceConcrete
- extends Object
A wrapper around ConnectionServiceImpl that provides an API that uses only concrete classes
not interfaces. This is needed by Apache Axis in order to expose this as a SOAP service.
- Author:
- jamesdixon
ConnectionServiceConcrete
public ConnectionServiceConcrete()
getConnections
public List<Connection> getConnections()
throws ConnectionServiceException
- Throws:
ConnectionServiceException
getConnectionByName
public Connection getConnectionByName(String name)
throws ConnectionServiceException
- Throws:
ConnectionServiceException
addConnection
public boolean addConnection(Connection connection)
throws ConnectionServiceException
- Throws:
ConnectionServiceException
updateConnection
public boolean updateConnection(Connection connection)
throws ConnectionServiceException
- Throws:
ConnectionServiceException
deleteConnection
public boolean deleteConnection(Connection connection)
throws ConnectionServiceException
- Throws:
ConnectionServiceException
deleteConnectionByName
public boolean deleteConnectionByName(String name)
throws ConnectionServiceException
- Throws:
ConnectionServiceException
testConnection
public boolean testConnection(Connection connection)
throws ConnectionServiceException
- Throws:
ConnectionServiceException
convertFromConnection
public DatabaseConnection convertFromConnection(Connection connection)
throws ConnectionServiceException
- Throws:
ConnectionServiceException
convertToConnection
public Connection convertToConnection(DatabaseConnection connection)
throws ConnectionServiceException
- Throws:
ConnectionServiceException