org.pentaho.platform.dataaccess.datasource.wizard.service.impl
Class ConnectionServiceConcrete

java.lang.Object
  extended by 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

Constructor Summary
ConnectionServiceConcrete()
           
 
Method Summary
 boolean addConnection(Connection connection)
           
 DatabaseConnection convertFromConnection(Connection connection)
           
 Connection convertToConnection(DatabaseConnection connection)
           
 boolean deleteConnection(Connection connection)
           
 boolean deleteConnectionByName(String name)
           
 Connection getConnectionByName(String name)
           
 List<Connection> getConnections()
           
 boolean testConnection(Connection connection)
           
 boolean updateConnection(Connection connection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionServiceConcrete

public ConnectionServiceConcrete()
Method Detail

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