|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.social.oauth2.AbstractOAuth2ApiBinding
org.springframework.social.linkedin.api.impl.LinkedInTemplate
public class LinkedInTemplate
This is the central class for interacting with LinkedIn.
Greenhouse operations require OAuth authentication with the server. Therefore, LinkedInTemplate must be constructed with the minimal information required to sign requests with and OAuth 1 Authorization header.
| Constructor Summary | |
|---|---|
LinkedInTemplate(String accessToken)
Creates a new LinkedInTemplate given the minimal amount of information needed to sign requests with OAuth 1 credentials. |
|
| Method Summary | |
|---|---|
CommunicationOperations |
communicationOperations()
API for sending messages and connection requests |
CompanyOperations |
companyOperations()
API for retrieving and performing operations on companies |
protected void |
configureRestTemplate(RestTemplate restTemplate)
|
ConnectionOperations |
connectionOperations()
API for retrieving connections |
GroupOperations |
groupOperations()
API for retrieving details of groups |
JobOperations |
jobOperations()
API for searching, retrieving and bookmarking jobs |
NetworkUpdateOperations |
networkUpdateOperations()
API for retrieving and performing operations on network updates |
ProfileOperations |
profileOperations()
API for retrieving and performing operations on profiles |
RestOperations |
restOperations()
Returns the underlying RestOperations object allowing for consumption of LinkedIn endpoints that may not be otherwise covered by the API binding. |
| Methods inherited from class org.springframework.social.oauth2.AbstractOAuth2ApiBinding |
|---|
getByteArrayMessageConverter, getFormMessageConverter, getJsonMessageConverter, getMessageConverters, getOAuth2Version, getRestTemplate, isAuthorized, setRequestFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.social.ApiBinding |
|---|
isAuthorized |
| Constructor Detail |
|---|
public LinkedInTemplate(String accessToken)
accessToken - an access token acquired through OAuth authentication with LinkedIn| Method Detail |
|---|
public ConnectionOperations connectionOperations()
LinkedIn
connectionOperations in interface LinkedInpublic NetworkUpdateOperations networkUpdateOperations()
LinkedIn
networkUpdateOperations in interface LinkedInpublic ProfileOperations profileOperations()
LinkedIn
profileOperations in interface LinkedInpublic CompanyOperations companyOperations()
LinkedIn
companyOperations in interface LinkedInpublic CommunicationOperations communicationOperations()
LinkedIn
communicationOperations in interface LinkedInpublic JobOperations jobOperations()
LinkedIn
jobOperations in interface LinkedInpublic GroupOperations groupOperations()
LinkedIn
groupOperations in interface LinkedInpublic RestOperations restOperations()
LinkedInRestOperations object allowing for consumption of LinkedIn endpoints that may not be otherwise covered by the API binding.
The RestOperations object returned is configured to include an OAuth "Authorization" header on all requests.
restOperations in interface LinkedInprotected void configureRestTemplate(RestTemplate restTemplate)
configureRestTemplate in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||