29 lines
831 B
Java
29 lines
831 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.RemoteService;
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
/**
|
|
* The client side stub for the RPC service.
|
|
* @author Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
|
|
*/
|
|
@RemoteServiceRelativePath("JoinService")
|
|
public interface JoinService extends RemoteService {
|
|
|
|
LinkedHashMap<VRECategory, ArrayList<VRE>> getVREs();
|
|
|
|
String joinVRE(Long vreId);
|
|
|
|
VRE getSelectedVRE(Long vreId);
|
|
|
|
void addMembershipRequest(String scope, String optionalMessage);
|
|
|
|
boolean registerUser(String scope, long vreId, boolean isInvitation);
|
|
}
|