public interface

AsyncHandlerLinkedInApiClient

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

Class Overview

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

Summary

Public Methods
abstract void deleteCurrentStatus(AsyncResponseHandler<?> handler)
Delete current status.
abstract void getConnectionsById(String id, int start, int count, AsyncResponseHandler<Connections> handler)
Gets the connections by id.
abstract void getConnectionsById(String id, Set<ProfileField> profileFields, int start, int count, AsyncResponseHandler<Connections> handler)
Gets the connections by id.
abstract void getConnectionsById(String id, AsyncResponseHandler<Connections> handler)
Gets the connections by id.
abstract void getConnectionsById(String id, Set<ProfileField> profileFields, AsyncResponseHandler<Connections> handler)
Gets the connections by id.
abstract void getConnectionsByUrl(String url, AsyncResponseHandler<Connections> handler)
Gets the connections by url.
abstract void getConnectionsByUrl(String url, Set<ProfileField> profileFields, AsyncResponseHandler<Connections> handler)
Gets the connections by url.
abstract void getConnectionsByUrl(String url, int start, int count, AsyncResponseHandler<Connections> handler)
Gets the connections by url.
abstract void getConnectionsByUrl(String url, Set<ProfileField> profileFields, int start, int count, AsyncResponseHandler<Connections> handler)
Gets the connections by url.
abstract void getConnectionsForCurrentUser(Set<ProfileField> profileFields, AsyncResponseHandler<Connections> handler)
Gets the connections for current user.
abstract void getConnectionsForCurrentUser(int start, int count, AsyncResponseHandler<Connections> handler)
Gets the connections for current user.
abstract void getConnectionsForCurrentUser(Set<ProfileField> profileFields, int start, int count, AsyncResponseHandler<Connections> handler)
Gets the connections for current user.
abstract void getConnectionsForCurrentUser(AsyncResponseHandler<Connections> handler)
Gets the connections for current user.
abstract void getNetworkUpdateComments(String networkUpdateId, AsyncResponseHandler<UpdateComments> handler)
Gets the network update comments.
abstract void getNetworkUpdates(Set<NetworkUpdateType> updateTypes, int start, int count, Date startDate, Date endDate, AsyncResponseHandler<Network> handler)
Gets the network updates.
abstract void getNetworkUpdates(Date startDate, Date endDate, AsyncResponseHandler<Network> handler)
Gets the network updates.
abstract void getNetworkUpdates(Set<NetworkUpdateType> updateTypes, Date startDate, Date endDate, AsyncResponseHandler<Network> handler)
Gets the network updates.
abstract void getNetworkUpdates(Set<NetworkUpdateType> updateTypes, int start, int count, AsyncResponseHandler<Network> handler)
Gets the network updates.
abstract void getNetworkUpdates(Set<NetworkUpdateType> updateTypes, AsyncResponseHandler<Network> handler)
Gets the network updates.
abstract void getNetworkUpdates(AsyncResponseHandler<Network> handler)
Gets the network updates.
abstract void getNetworkUpdates(int start, int count, AsyncResponseHandler<Network> handler)
Gets the network updates.
abstract void getProfileByApiRequest(ApiStandardProfileRequest apiRequest, AsyncResponseHandler<Person> handler)
Gets the profile by API request.
abstract void getProfileById(String id, Set<ProfileField> profileFields, AsyncResponseHandler<Person> handler)
Gets the profile by id.
abstract void getProfileById(String id, AsyncResponseHandler<Person> handler)
Gets the profile by id.
abstract void getProfileByUrl(String url, ProfileType profileType, AsyncResponseHandler<Person> handler)
Gets the profile by url.
abstract void getProfileByUrl(String url, ProfileType profileType, Set<ProfileField> profileFields, AsyncResponseHandler<Person> handler)
Gets the profile by url.
abstract void getProfileForCurrentUser(AsyncResponseHandler<Person> handler)
Gets the profile for current user.
abstract void getProfileForCurrentUser(Set<ProfileField> profileFields, AsyncResponseHandler<Person> handler)
Gets the profile for current user.
abstract void postComment(String networkUpdateId, String commentText, AsyncResponseHandler<?> handler)
Post comment.
abstract void postNetworkUpdate(String updateText, AsyncResponseHandler<?> handler)
Post network update.
abstract void searchPeople(Map<SearchParameter, String> searchParameters, int start, int count, SearchSortOrder sortOrder, AsyncResponseHandler<People> handler)
Search people.
abstract void searchPeople(Map<SearchParameter, String> searchParameters, SearchSortOrder sortOrder, AsyncResponseHandler<People> handler)
Search people.
abstract void searchPeople(Map<SearchParameter, String> searchParameters, AsyncResponseHandler<People> handler)
Search people.
abstract void searchPeople(AsyncResponseHandler<People> handler)
Search people.
abstract void searchPeople(Map<SearchParameter, String> searchParameters, int start, int count, AsyncResponseHandler<People> handler)
Search people.
abstract void sendInviteByEmail(String email, String firstName, String lastName, String subject, String message, AsyncResponseHandler<?> handler)
Send invite.
abstract void sendInviteById(String recepientId, String subject, String message, String authHeader, AsyncResponseHandler<?> handler)
Send invite.
abstract void sendInviteToPerson(Person recepient, String subject, String message, AsyncResponseHandler<?> handler)
Send invite.
abstract void sendMessage(List<String> recepientIds, String subject, String message, AsyncResponseHandler<?> handler)
Send message.
abstract void updateCurrentStatus(String status, AsyncResponseHandler<?> handler)
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 void deleteCurrentStatus (AsyncResponseHandler<?> handler)

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

Parameters
handler
Returns
  • the future

public abstract void getConnectionsById (String id, int start, int count, AsyncResponseHandler<Connections> handler)

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
handler
Returns
  • the connections by id

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

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
handler
Returns
  • the connections by id

public abstract void getConnectionsById (String id, AsyncResponseHandler<Connections> handler)

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

Parameters
id The id
handler
Returns
  • the connections by id

public abstract void getConnectionsById (String id, Set<ProfileField> profileFields, AsyncResponseHandler<Connections> handler)

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

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

public abstract void getConnectionsByUrl (String url, AsyncResponseHandler<Connections> handler)

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

Parameters
url The url
handler
Returns
  • the connections by url

public abstract void getConnectionsByUrl (String url, Set<ProfileField> profileFields, AsyncResponseHandler<Connections> handler)

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

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

public abstract void getConnectionsByUrl (String url, int start, int count, AsyncResponseHandler<Connections> handler)

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
handler
Returns
  • the connections by url

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

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
handler
Returns
  • the connections by url

public abstract void getConnectionsForCurrentUser (Set<ProfileField> profileFields, AsyncResponseHandler<Connections> handler)

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

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

public abstract void getConnectionsForCurrentUser (int start, int count, AsyncResponseHandler<Connections> handler)

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

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

public abstract void getConnectionsForCurrentUser (Set<ProfileField> profileFields, int start, int count, AsyncResponseHandler<Connections> handler)

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
handler
Returns
  • the connections for current user

public abstract void getConnectionsForCurrentUser (AsyncResponseHandler<Connections> handler)

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

Parameters
handler
Returns
  • the connections for current user

public abstract void getNetworkUpdateComments (String networkUpdateId, AsyncResponseHandler<UpdateComments> handler)

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

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

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

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
handler
Returns
  • the network updates

public abstract void getNetworkUpdates (Date startDate, Date endDate, AsyncResponseHandler<Network> handler)

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

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

public abstract void getNetworkUpdates (Set<NetworkUpdateType> updateTypes, Date startDate, Date endDate, AsyncResponseHandler<Network> handler)

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
handler
Returns
  • the network updates

public abstract void getNetworkUpdates (Set<NetworkUpdateType> updateTypes, int start, int count, AsyncResponseHandler<Network> handler)

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
handler
Returns
  • the network updates

public abstract void getNetworkUpdates (Set<NetworkUpdateType> updateTypes, AsyncResponseHandler<Network> handler)

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

Parameters
updateTypes The update types
handler
Returns
  • the network updates

public abstract void getNetworkUpdates (AsyncResponseHandler<Network> handler)

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

Parameters
handler
Returns
  • the network updates

public abstract void getNetworkUpdates (int start, int count, AsyncResponseHandler<Network> handler)

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

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

public abstract void getProfileByApiRequest (ApiStandardProfileRequest apiRequest, AsyncResponseHandler<Person> handler)

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

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

public abstract void getProfileById (String id, Set<ProfileField> profileFields, AsyncResponseHandler<Person> handler)

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

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

public abstract void getProfileById (String id, AsyncResponseHandler<Person> handler)

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

Parameters
id The id
handler
Returns
  • the profile by id

public abstract void getProfileByUrl (String url, ProfileType profileType, AsyncResponseHandler<Person> handler)

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

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

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

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
handler
Returns
  • the profile by url

public abstract void getProfileForCurrentUser (AsyncResponseHandler<Person> handler)

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

Parameters
handler
Returns
  • the profile for current user

public abstract void getProfileForCurrentUser (Set<ProfileField> profileFields, AsyncResponseHandler<Person> handler)

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

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

public abstract void postComment (String networkUpdateId, String commentText, AsyncResponseHandler<?> handler)

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

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

public abstract void postNetworkUpdate (String updateText, AsyncResponseHandler<?> handler)

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

Parameters
updateText The update text
handler
Returns
  • the future

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

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
handler
Returns
  • the future< people>

public abstract void searchPeople (Map<SearchParameter, String> searchParameters, SearchSortOrder sortOrder, AsyncResponseHandler<People> handler)

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

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

public abstract void searchPeople (Map<SearchParameter, String> searchParameters, AsyncResponseHandler<People> handler)

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

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

public abstract void searchPeople (AsyncResponseHandler<People> handler)

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

Parameters
handler
Returns
  • the future< people>

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

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

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

public abstract void sendInviteByEmail (String email, String firstName, String lastName, String subject, String message, AsyncResponseHandler<?> handler)

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
handler
Returns
  • the future

public abstract void sendInviteById (String recepientId, String subject, String message, String authHeader, AsyncResponseHandler<?> handler)

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
handler
Returns
  • the future

public abstract void sendInviteToPerson (Person recepient, String subject, String message, AsyncResponseHandler<?> handler)

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
handler
Returns
  • the future

public abstract void sendMessage (List<String> recepientIds, String subject, String message, AsyncResponseHandler<?> handler)

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

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

public abstract void updateCurrentStatus (String status, AsyncResponseHandler<?> handler)

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

Parameters
status The status
handler
Returns
  • the future