public class SocialServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements SocialService
| Constructor and Description |
|---|
SocialServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
fetchUserProfile(String authCode,
String redirectURI)
This method fetches the user profile by authenticating with LinkedIn through OAuth2 protocol
once authenitcated it call another methos to get the profile and parse it.
|
String |
getDevelopmentUser()
when packaging test will fail if the user is not set to test.user
|
UserContext |
getUserContext(String userid) |
Boolean |
saveHeadline(String newHeadline) |
Boolean |
saveIsti(String institution) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic String getDevelopmentUser()
public UserContext getUserContext(String userid)
getUserContext in interface SocialServicepublic Boolean saveHeadline(String newHeadline)
saveHeadline in interface SocialServicepublic Boolean saveIsti(String institution)
saveIsti in interface SocialServicepublic String fetchUserProfile(String authCode, String redirectURI)
fetchUserProfile in interface SocialServiceCopyright © 2015. All Rights Reserved.