25 lines
708 B
Java
25 lines
708 B
Java
package org.gcube.portlets.user.joinvre.client;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.LinkedHashMap;
|
|
|
|
import org.gcube.portlets.user.joinvre.shared.VRE;
|
|
import org.gcube.portlets.user.joinvre.shared.VRECategory;
|
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
/**
|
|
* @author Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
|
|
*/
|
|
public interface JoinServiceAsync {
|
|
|
|
void getVREs(AsyncCallback< LinkedHashMap<VRECategory, ArrayList<VRE>>> callback);
|
|
|
|
void joinVRE(Long vreId, AsyncCallback<String> callback);
|
|
|
|
void getSelectedVRE(Long vreId, AsyncCallback<VRE> callback);
|
|
|
|
void addMembershipRequest(String scope, String optionalMessage,
|
|
AsyncCallback<Void> callback);
|
|
}
|