public interface

AsyncLinkedInApiClient

implements LinkedInAuthenticationClient
com.google.code.linkedinapi.client.AsyncLinkedInApiClient
Known Indirect Subclasses

Class Overview

The Interface AsyncLinkedInApiClient. This interface can be used for asynchronous invocation of API methods.

Summary

Public Methods
abstract Future<?> deleteCurrentStatus()
Delete current status.
abstract Future<Connections> getConnectionsById(String id, Set<ProfileField> profileFields)
Gets the connections by id.
abstract Future<Connections> getConnectionsById(String id)
Gets the connections by id.
abstract Future<Connections> getConnectionsById(String id, Set<ProfileField> profileFields, int start, int count)
Gets the connections by id.
abstract Future<Connections> getConnectionsById(String id, int start, int count)
Gets the connections by id.
abstract Future<Connections> getConnectionsByUrl(String url)
Gets the connections by url.
abstract Future<Connections> getConnectionsByUrl(String url, Set<ProfileField> profileFields)
Gets the connections by url.
abstract Future<Connections> getConnectionsByUrl(String url, Set<ProfileField> profileFields, int start, int count)
Gets the connections by url.
abstract Future<Connections> getConnectionsByUrl(String url, int start, int count)
Gets the connections by url.
abstract Future<Connections> getConnectionsForCurrentUser(Set<ProfileField> profileFields, int start, int count)
Gets the connections for current user.
abstract Future<Connections> getConnectionsForCurrentUser(Set<ProfileField> profileFields)
Gets the connections for current user.
abstract Future<Connections> getConnectionsForCurrentUser()
Gets the connections for current user.
abstract Future<Connections> getConnectionsForCurrentUser(int start, int count)
Gets the connections for current user.
abstract Future<UpdateComments> getNetworkUpdateComments(String networkUpdateId)
Gets the network update comments.
abstract Future<Network> getNetworkUpdates()
Gets the network updates.
abstract Future<Network> getNetworkUpdates(int start, int count)
Gets the network updates.
abstract Future<Network> getNetworkUpdates(Set<NetworkUpdateType> updateTypes, int start, int count)
Gets the network updates.
abstract Future<Network> getNetworkUpdates(Set<NetworkUpdateType> updateTypes, Date startDate, Date endDate)
Gets the network updates.
abstract Future<Network> getNetworkUpdates(Set<NetworkUpdateType> updateTypes)
Gets the network updates.
abstract Future<Network> getNetworkUpdates(Date startDate, Date endDate)
Gets the network updates.
abstract Future<Network> getNetworkUpdates(Set<NetworkUpdateType> updateTypes, int start, int count, Date startDate, Date endDate)
Gets the network updates.
abstract Future<Person> getProfileByApiRequest(ApiStandardProfileRequest apiRequest)
Gets the profile by API request.
abstract Future<Person> getProfileById(String id, Set<ProfileField> profileFields)
Gets the profile by id.
abstract Future<Person> getProfileById(String id)
Gets the profile by id.
abstract Future<Person> getProfileByUrl(String url, ProfileType profileType)
Gets the profile by url.
abstract Future<Person> getProfileByUrl(String url, ProfileType profileType, Set<ProfileField> profileFields)
Gets the profile by url.
abstract Future<Person> getProfileForCurrentUser()
Gets the profile for current user.
abstract Future<Person> getProfileForCurrentUser(Set<ProfileField> profileFields)
Gets the profile for current user.
abstract Future<?> postComment(String networkUpdateId, String commentText)
Post comment.
abstract Future<?> postNetworkUpdate(String updateText)
Post network update.
abstract Future<People> searchPeople(Map<SearchParameter, String> searchParameters, SearchSortOrder sortOrder)
Search people.
abstract Future<People> searchPeople(Map<SearchParameter, String> searchParameters, int start, int count)
Search people.
abstract Future<People> searchPeople(Map<SearchParameter, String> searchParameters)
Search people.
abstract Future<People> searchPeople()
Search people.
abstract Future<People> searchPeople(Map<SearchParameter, String> searchParameters, int start, int count, SearchSortOrder sortOrder)
Search people.
abstract Future<?> sendInviteByEmail(String email, String firstName, String lastName, String subject, String message)
Send invite.
abstract Future<?> sendInviteById(String recepientId, String subject, String message, String authHeader)
Send invite.
abstract Future<?> sendInviteToPerson(Person recepient, String subject, String message)
Send invite.
abstract Future<?> sendMessage(List<String> recepientIds, String subject, String message)
Send message.
abstract Future<?> updateCurrentStatus(String status)
Update current status.
[Expand]
Inherited Methods
From interface com.google.code.linkedinapi.client.LinkedInAuthenticationClient
From interface com.google.code.linkedinapi.client.LinkedInCommunicationClient

Public Methods

public abstract Future<?> deleteCurrentStatus ()

Delete current status. For details see http://developer.linkedin.com/docs/DOC-1007

Returns
  • the future

public abstract Future<Connections> getConnectionsById (String id, Set<ProfileField> profileFields)

Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
id The id
profileFields The profile fields
Returns
  • the connections by id

public abstract Future<Connections> getConnectionsById (String id)

Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
id The id
Returns
  • the connections by id

public abstract Future<Connections> getConnectionsById (String id, Set<ProfileField> profileFields, int start, int count)

Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
id The id
profileFields The profile fields
start The start
count The count
Returns
  • the connections by id

public abstract Future<Connections> getConnectionsById (String id, int start, int count)

Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
id The id
start The start
count The count
Returns
  • the connections by id

public abstract Future<Connections> getConnectionsByUrl (String url)

Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
url The url
Returns
  • the connections by url

public abstract Future<Connections> getConnectionsByUrl (String url, Set<ProfileField> profileFields)

Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
url The url
profileFields The profile fields
Returns
  • the connections by url

public abstract Future<Connections> getConnectionsByUrl (String url, Set<ProfileField> profileFields, int start, int count)

Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
url The url
profileFields The profile fields
start The start
count The count
Returns
  • the connections by url

public abstract Future<Connections> getConnectionsByUrl (String url, int start, int count)

Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
url The url
start The start
count The count
Returns
  • the connections by url

public abstract Future<Connections> getConnectionsForCurrentUser (Set<ProfileField> profileFields, int start, int count)

Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
profileFields The profile fields
start The start
count The count
Returns
  • the connections for current user

public abstract Future<Connections> getConnectionsForCurrentUser (Set<ProfileField> profileFields)

Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
profileFields The profile fields
Returns
  • the connections for current user

public abstract Future<Connections> getConnectionsForCurrentUser ()

Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Returns
  • the connections for current user

public abstract Future<Connections> getConnectionsForCurrentUser (int start, int count)

Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters
start The start
count The count
Returns
  • the connections for current user

public abstract Future<UpdateComments> getNetworkUpdateComments (String networkUpdateId)

Gets the network update comments. For details see http://developer.linkedin.com/docs/DOC-1043

Parameters
networkUpdateId The network update id
Returns
  • the network update comments

public abstract Future<Network> getNetworkUpdates ()

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Returns
  • the network updates

public abstract Future<Network> getNetworkUpdates (int start, int count)

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Parameters
start The start
count The count
Returns
  • the network updates

public abstract Future<Network> getNetworkUpdates (Set<NetworkUpdateType> updateTypes, int start, int count)

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Parameters
updateTypes The update types
start The start
count The count
Returns
  • the network updates

public abstract Future<Network> getNetworkUpdates (Set<NetworkUpdateType> updateTypes, Date startDate, Date endDate)

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Parameters
updateTypes The update types
startDate The start date
endDate The end date
Returns
  • the network updates

public abstract Future<Network> getNetworkUpdates (Set<NetworkUpdateType> updateTypes)

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Parameters
updateTypes The update types
Returns
  • the network updates

public abstract Future<Network> getNetworkUpdates (Date startDate, Date endDate)

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Parameters
startDate The start date
endDate The end date
Returns
  • the network updates

public abstract Future<Network> getNetworkUpdates (Set<NetworkUpdateType> updateTypes, int start, int count, Date startDate, Date endDate)

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006

Parameters
updateTypes The update types
start The start
count The count
startDate The start date
endDate The end date
Returns
  • the network updates

public abstract Future<Person> getProfileByApiRequest (ApiStandardProfileRequest apiRequest)

Gets the profile by API request. For details see http://developer.linkedin.com/docs/DOC-1002

Parameters
apiRequest The api request
Returns
  • the profile by api request

public abstract Future<Person> getProfileById (String id, Set<ProfileField> profileFields)

Gets the profile by id. For details see http://developer.linkedin.com/docs/DOC-1002

Parameters
id The id
profileFields The profile fields
Returns
  • the profile by id

public abstract Future<Person> getProfileById (String id)

Gets the profile by id. For details see http://developer.linkedin.com/docs/DOC-1002

Parameters
id The id
Returns
  • the profile by id

public abstract Future<Person> getProfileByUrl (String url, ProfileType profileType)

Gets the profile by url. For details see http://developer.linkedin.com/docs/DOC-1002

Parameters
url The url
profileType The profile type
Returns
  • the profile by url

public abstract Future<Person> getProfileByUrl (String url, ProfileType profileType, Set<ProfileField> profileFields)

Gets the profile by url. For details see http://developer.linkedin.com/docs/DOC-1002

Parameters
url The url
profileType The profile type
profileFields The profile fields
Returns
  • the profile by url

public abstract Future<Person> getProfileForCurrentUser ()

Gets the profile for current user. For details see http://developer.linkedin.com/docs/DOC-1002

Returns
  • the profile for current user

public abstract Future<Person> getProfileForCurrentUser (Set<ProfileField> profileFields)

Gets the profile for current user. For details see http://developer.linkedin.com/docs/DOC-1002

Parameters
profileFields The profile fields
Returns
  • the profile for current user

public abstract Future<?> postComment (String networkUpdateId, String commentText)

Post comment. For details see http://developer.linkedin.com/docs/DOC-1043

Parameters
networkUpdateId The network update id
commentText The comment text
Returns
  • the future

public abstract Future<?> postNetworkUpdate (String updateText)

Post network update. For details see http://developer.linkedin.com/docs/DOC-1009

Parameters
updateText The update text
Returns
  • the future

public abstract Future<People> searchPeople (Map<SearchParameter, String> searchParameters, SearchSortOrder sortOrder)

Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters
searchParameters The search parameters
sortOrder The sort order
Returns
  • the future< people>

public abstract Future<People> searchPeople (Map<SearchParameter, String> searchParameters, int start, int count)

Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters
searchParameters The search parameters
start The start
count The count
Returns
  • the future< people>

public abstract Future<People> searchPeople (Map<SearchParameter, String> searchParameters)

Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters
searchParameters The search parameters
Returns
  • the future< people>

public abstract Future<People> searchPeople ()

Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Returns
  • the future< people>

public abstract Future<People> searchPeople (Map<SearchParameter, String> searchParameters, int start, int count, SearchSortOrder sortOrder)

Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters
searchParameters The search parameters
start The start
count The count
sortOrder The sort order
Returns
  • the future< people>

public abstract Future<?> sendInviteByEmail (String email, String firstName, String lastName, String subject, String message)

Send invite. For details see http://developer.linkedin.com/docs/DOC-1012

Parameters
email The recepient email
firstName The first name
lastName The last name
subject The subject
message The message
Returns
  • the future

public abstract Future<?> sendInviteById (String recepientId, String subject, String message, String authHeader)

Send invite. For details see http://developer.linkedin.com/docs/DOC-1012

To call this method one needs an auth header parameter. This can be obtained by getting getHeaders() from getApiStandardProfileRequest() and then getting the value of header with name AUTH_HEADER_NAME.

Parameters
recepientId The recepient id
subject The subject
message The message
authHeader The auth header
Returns
  • the future

public abstract Future<?> sendInviteToPerson (Person recepient, String subject, String message)

Send invite. For details see http://developer.linkedin.com/docs/DOC-1012

To call this method one needs an auth header parameter. This can be obtained by getting getHeaders() from getApiStandardProfileRequest() and then getting the value of header with name AUTH_HEADER_NAME.

Parameters
recepient The recepient
subject The subject
message The message
Returns
  • the future

public abstract Future<?> sendMessage (List<String> recepientIds, String subject, String message)

Send message. For details see http://developer.linkedin.com/docs/DOC-1044

Parameters
recepientIds The recepient ids
subject The subject
message The message
Returns
  • the future

public abstract Future<?> updateCurrentStatus (String status)

Update current status. For details see http://developer.linkedin.com/docs/DOC-1007

Parameters
status The status
Returns
  • the future