org.pentaho.platform.dataaccess.datasource.wizard.service.impl
Class ConnectionServiceImpl
java.lang.Object
org.pentaho.platform.engine.core.system.PentahoBase
org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl
- All Implemented Interfaces:
- Serializable, ILogger, IConnectionService
public class ConnectionServiceImpl
- extends PentahoBase
- implements IConnectionService
ConnectionServiceImpl extends PenahoBase so that it inherits the ILogger functionality.
- See Also:
- Serialized Form
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn |
ConnectionServiceImpl
public ConnectionServiceImpl()
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in class PentahoBase
getConnections
public List<IConnection> getConnections()
throws ConnectionServiceException
- Specified by:
getConnections
in interface IConnectionService
- Throws:
ConnectionServiceException
getConnectionByName
public IConnection getConnectionByName(String name)
throws ConnectionServiceException
- Specified by:
getConnectionByName
in interface IConnectionService
- Throws:
ConnectionServiceException
addConnection
public boolean addConnection(IConnection connection)
throws ConnectionServiceException
- Specified by:
addConnection
in interface IConnectionService
- Throws:
ConnectionServiceException
updateConnection
public boolean updateConnection(IConnection connection)
throws ConnectionServiceException
- Specified by:
updateConnection
in interface IConnectionService
- Throws:
ConnectionServiceException
deleteConnection
public boolean deleteConnection(IConnection connection)
throws ConnectionServiceException
- Specified by:
deleteConnection
in interface IConnectionService
- Throws:
ConnectionServiceException
deleteConnection
public boolean deleteConnection(String name)
throws ConnectionServiceException
- Specified by:
deleteConnection
in interface IConnectionService
- Throws:
ConnectionServiceException
testConnection
public boolean testConnection(IConnection connection)
throws ConnectionServiceException
- Specified by:
testConnection
in interface IConnectionService
- Throws:
ConnectionServiceException
convertFromConnection
public IDatabaseConnection convertFromConnection(IConnection connection)
throws ConnectionServiceException
- Specified by:
convertFromConnection
in interface IConnectionService
- Throws:
ConnectionServiceException
convertToConnection
public IConnection convertToConnection(IDatabaseConnection connection)
throws ConnectionServiceException
- Specified by:
convertToConnection
in interface IConnectionService
- Throws:
ConnectionServiceException