|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.oauth1.AbstractOAuth1ApiBinding 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(java.lang.String consumerKey,
java.lang.String consumerSecret,
java.lang.String accessToken,
java.lang.String accessTokenSecret)
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 |
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.oauth1.AbstractOAuth1ApiBinding |
---|
configureRestTemplate, getByteArrayMessageConverter, getFormMessageConverter, getJsonMessageConverter, getMessageConverters, 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(java.lang.String consumerKey, java.lang.String consumerSecret, java.lang.String accessToken, java.lang.String accessTokenSecret)
consumerKey
- the application's API keyconsumerSecret
- the application's API secretaccessToken
- an access token acquired through OAuth authentication with LinkedInaccessTokenSecret
- an access token secret acquired through OAuth authentication with LinkedInMethod Detail |
---|
public ConnectionOperations connectionOperations()
LinkedIn
connectionOperations
in interface LinkedIn
public NetworkUpdateOperations networkUpdateOperations()
LinkedIn
networkUpdateOperations
in interface LinkedIn
public ProfileOperations profileOperations()
LinkedIn
profileOperations
in interface LinkedIn
public CompanyOperations companyOperations()
LinkedIn
companyOperations
in interface LinkedIn
public CommunicationOperations communicationOperations()
LinkedIn
communicationOperations
in interface LinkedIn
public JobOperations jobOperations()
LinkedIn
jobOperations
in interface LinkedIn
public GroupOperations groupOperations()
LinkedIn
groupOperations
in interface LinkedIn
public RestOperations restOperations()
LinkedIn
RestOperations
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 LinkedIn
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |