public class JoinServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements JoinService
| Constructor and Description |
|---|
JoinServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMembershipRequest(String scope,
String optionalMessage) |
String |
getDevelopmentUser()
when packaging test will fail if the user is not set to test.user
|
LinkedHashMap<VRECategory,ArrayList<VRE>> |
getPortalSitesMappedToVRE() |
String |
getPortalUrl() |
VRE |
getSelectedVRE(Long groupId) |
VRECustomAttributes |
getVRECustomAttr(org.gcube.vomanagement.usermanagement.model.GCubeGroup group) |
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) |
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 TEST_USER
public String getDevelopmentUser()
public String joinVRE(Long vreID)
joinVRE in interface JoinServicepublic LinkedHashMap<VRECategory,ArrayList<VRE>> getVREs()
getVREs in interface JoinServicesession - the Asl SessionwithinPortal - true when is on Liferay portalpublic VRECustomAttributes getVRECustomAttr(org.gcube.vomanagement.usermanagement.model.GCubeGroup group) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic 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(String scope, 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 JoinServicepublic org.gcube.portal.databook.shared.UserInfo readInvite(String inviteId)
readInvite in interface JoinServiceCopyright © 2016. All Rights Reserved.