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, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public String getDevelopmentUser()
public UserContext getUserContext(String userid)
getUserContext
in interface SocialService
public Boolean saveHeadline(String newHeadline)
saveHeadline
in interface SocialService
public Boolean saveIsti(String institution)
saveIsti
in interface SocialService
public String fetchUserProfile(String authCode, String redirectURI)
fetchUserProfile
in interface SocialService
Copyright © 2014. All Rights Reserved.