public class JoinServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements JoinService
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX_PUBLIC_URL |
| Constructor and Description |
|---|
JoinServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMembershipRequest(VRE theVRE,
String optionalMessage) |
LinkedHashMap<VRECategory,ArrayList<VRE>> |
getPortalSitesMappedToVRE() |
String |
getPortalUrl() |
VRE |
getSelectedVRE(Long groupId) |
String |
getTermsOfUse(long siteId)
check if a terms of use exists for the given Site (VRE), returns null is non existent
|
LinkedHashMap<VRECategory,ArrayList<VRE>> |
getVREs() |
static org.gcube.portal.databook.server.DatabookStore |
initStore() |
String |
isExistingInvite(long groupId) |
String |
joinVRE(Long vreID) |
org.gcube.portal.databook.shared.UserInfo |
readInvite(String inviteId,
long siteId) |
boolean |
registerUser(String scope,
long groupId,
boolean isInvitation)
the user to the VRE, plus send notifications to the vre manages of the vre
in order to register a user i had to create a fake membership request because assigning a user to a group would have required
the user to logout and login otherwise
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String PREFIX_PUBLIC_URL
public String joinVRE(Long vreID)
joinVRE in interface JoinServicepublic org.gcube.portal.databook.shared.UserInfo readInvite(String inviteId, long siteId)
readInvite in interface JoinServicepublic String getTermsOfUse(long siteId)
getTermsOfUse in interface JoinServicepublic LinkedHashMap<VRECategory,ArrayList<VRE>> getVREs()
getVREs in interface JoinServicesession - the Asl SessionwithinPortal - true when is on Liferay portalpublic LinkedHashMap<VRECategory,ArrayList<VRE>> getPortalSitesMappedToVRE() throws Exception
com.liferay.portal.kernel.exception.SystemExceptioncom.liferay.portal.kernel.exception.PortalExceptionExceptionpublic VRE getSelectedVRE(Long groupId)
getSelectedVRE in interface JoinServicepublic void addMembershipRequest(VRE theVRE, String optionalMessage)
addMembershipRequest in interface JoinServicepublic String getPortalUrl() throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic boolean registerUser(String scope, long groupId, boolean isInvitation)
registerUser in interface JoinServicepublic static org.gcube.portal.databook.server.DatabookStore initStore()
public String isExistingInvite(long groupId)
isExistingInvite in interface JoinServiceCopyright © 2017. All Rights Reserved.