org.pentaho.platform.dataaccess.datasource.wizard.service.gwt
Interface IGwtConnectionServiceAsync


public interface IGwtConnectionServiceAsync

This is the GWT Asynchronous implementation of the IConnectionService API


Method Summary
 void addConnection(IConnection connection, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void convertFromConnection(IConnection connection, com.google.gwt.user.client.rpc.AsyncCallback<IDatabaseConnection> callback)
           
 void convertToConnection(IDatabaseConnection connection, com.google.gwt.user.client.rpc.AsyncCallback<IConnection> callback)
           
 void deleteConnection(IConnection connection, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void deleteConnection(String name, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void getConnectionByName(String name, com.google.gwt.user.client.rpc.AsyncCallback<IConnection> callback)
           
 void getConnections(com.google.gwt.user.client.rpc.AsyncCallback<List<IConnection>> callback)
           
 void testConnection(IConnection connection, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void updateConnection(IConnection connection, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 

Method Detail

getConnections

void getConnections(com.google.gwt.user.client.rpc.AsyncCallback<List<IConnection>> callback)

getConnectionByName

void getConnectionByName(String name,
                         com.google.gwt.user.client.rpc.AsyncCallback<IConnection> callback)

addConnection

void addConnection(IConnection connection,
                   com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

updateConnection

void updateConnection(IConnection connection,
                      com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

deleteConnection

void deleteConnection(IConnection connection,
                      com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

deleteConnection

void deleteConnection(String name,
                      com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

testConnection

void testConnection(IConnection connection,
                    com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

convertToConnection

void convertToConnection(IDatabaseConnection connection,
                         com.google.gwt.user.client.rpc.AsyncCallback<IConnection> callback)

convertFromConnection

void convertFromConnection(IConnection connection,
                           com.google.gwt.user.client.rpc.AsyncCallback<IDatabaseConnection> callback)