org.pentaho.platform.dataaccess.datasource.wizard.service.gwt
Class ConnectionDebugGwtServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
              extended by org.pentaho.platform.dataaccess.datasource.wizard.service.gwt.ConnectionDebugGwtServlet
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, IConnectionService, IGwtConnectionService

public class ConnectionDebugGwtServlet
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements IGwtConnectionService

See Also:
Serialized Form

Field Summary
static InMemoryConnectionServiceImpl SERVICE
           
 
Constructor Summary
ConnectionDebugGwtServlet()
           
 
Method Summary
 boolean addConnection(IConnection connection)
           
 IDatabaseConnection convertFromConnection(IConnection connection)
           
 IConnection convertToConnection(IDatabaseConnection connection)
           
 boolean deleteConnection(IConnection connection)
           
 boolean deleteConnection(String name)
           
 IConnection getConnectionByName(String name)
           
 List<IConnection> getConnections()
           
 boolean testConnection(IConnection connection)
           
 boolean updateConnection(IConnection connection)
           
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
doPost, getSerializationPolicy, processCall
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE

public static InMemoryConnectionServiceImpl SERVICE
Constructor Detail

ConnectionDebugGwtServlet

public ConnectionDebugGwtServlet()
Method Detail

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