package org.gcube.portlets.user.geoportaldataentry.client; import java.util.List; import org.gcube.portlets.user.geoportaldataentry.shared.GeoNaFormDataObject; import org.gcube.portlets.user.geoportaldataentry.shared.GeonaISConfig; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.AsyncCallback; public interface GreetingServiceAsync { /** * Utility class to get the RPC Async interface from client-side code */ public static final class Util { private static GreetingServiceAsync instance; public static final GreetingServiceAsync getInstance() { if ( instance == null ) { instance = (GreetingServiceAsync) GWT.create( GreetingService.class ); } return instance; } private Util() { // Utility class should not be instantiated } } void saveGeonaDataForms(List listGeonaFormObjects, AsyncCallback callback); void getGeonaInitConfig(AsyncCallback callback); }