com.google.code.linkedinapi.client
Interface LinkedInApiClient

All Superinterfaces:
LinkedInAuthenticationClient, LinkedInCommunicationClient
All Known Implementing Classes:
BaseLinkedInApiClient, LinkedInApiJaxbClient, LinkedInApiXppClient

public interface LinkedInApiClient
extends LinkedInAuthenticationClient

The Interface LinkedInApiClient. It acts as a facade for the whole LinkedIn API.

Author:
Nabeel Mukhtar

Method Summary
 void deleteCurrentStatus()
          Delete current status.
 Connections getConnectionsById(java.lang.String id)
          Gets the connections by id.
 Connections getConnectionsById(java.lang.String id, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by id.
 Connections getConnectionsById(java.lang.String id, int start, int count)
          Gets the connections by id.
 Connections getConnectionsById(java.lang.String id, int start, int count, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by id.
 Connections getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields)
          Gets the connections by id.
 Connections getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by id.
 Connections getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields, int start, int count)
          Gets the connections by id.
 Connections getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields, int start, int count, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by id.
 Connections getConnectionsByUrl(java.lang.String url)
          Gets the connections by url.
 Connections getConnectionsByUrl(java.lang.String url, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by url.
 Connections getConnectionsByUrl(java.lang.String url, int start, int count)
          Gets the connections by url.
 Connections getConnectionsByUrl(java.lang.String url, int start, int count, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by url.
 Connections getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields)
          Gets the connections by url.
 Connections getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by url.
 Connections getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields, int start, int count)
          Gets the connections by url.
 Connections getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields, int start, int count, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections by url.
 Connections getConnectionsForCurrentUser()
          Gets the connections for current user.
 Connections getConnectionsForCurrentUser(java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections for current user.
 Connections getConnectionsForCurrentUser(int start, int count)
          Gets the connections for current user.
 Connections getConnectionsForCurrentUser(int start, int count, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections for current user.
 Connections getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields)
          Gets the connections for current user.
 Connections getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections for current user.
 Connections getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields, int start, int count)
          Gets the connections for current user.
 Connections getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields, int start, int count, java.util.Date modificationDate, ConnectionModificationType modificationType)
          Gets the connections for current user.
 UpdateComments getNetworkUpdateComments(java.lang.String networkUpdateId)
          Gets the network update comments.
 Likes getNetworkUpdateLikes(java.lang.String networkUpdateId)
          Gets the network update likes.
 Network getNetworkUpdates()
          Gets the network updates.
 Network getNetworkUpdates(java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 Network getNetworkUpdates(int start, int count)
          Gets the network updates.
 Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes)
          Gets the network updates.
 Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count)
          Gets the network updates.
 Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count, java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count, java.util.Date startDate, java.util.Date endDate, boolean showHiddenMembers)
          Gets the network updates.
 Person getProfileByApiRequest(ApiStandardProfileRequest apiRequest)
          Gets the profile by API request.
 Person getProfileById(java.lang.String id)
          Gets the profile by id.
 Person getProfileById(java.lang.String id, java.util.Set<ProfileField> profileFields)
          Gets the profile by id.
 Person getProfileByUrl(java.lang.String url, ProfileType profileType)
          Gets the profile by url.
 Person getProfileByUrl(java.lang.String url, ProfileType profileType, java.util.Set<ProfileField> profileFields)
          Gets the profile by url.
 Person getProfileForCurrentUser()
          Gets the profile for current user.
 Person getProfileForCurrentUser(java.util.Set<ProfileField> profileFields)
          Gets the profile for current user.
 Network getUserUpdates()
          Gets the network updates.
 Network getUserUpdates(java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 Network getUserUpdates(int start, int count)
          Gets the network updates.
 Network getUserUpdates(java.util.Set<NetworkUpdateType> updateTypes)
          Gets the network updates.
 Network getUserUpdates(java.util.Set<NetworkUpdateType> updateTypes, java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 Network getUserUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count)
          Gets the network updates.
 Network getUserUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count, java.util.Date startDate, java.util.Date endDate)
          Gets the network updates.
 void likePost(java.lang.String networkUpdateId)
          Like post.
 void postComment(java.lang.String networkUpdateId, java.lang.String commentText)
          Post comment.
 void postNetworkUpdate(java.lang.String updateText)
          Post network update.
 void postShare(java.lang.String commentText, java.lang.String title, java.lang.String url, java.lang.String imageUrl, VisibilityType visibility)
          Post share.
 void postShare(java.lang.String commentText, java.lang.String title, java.lang.String url, java.lang.String imageUrl, VisibilityType visibility, boolean postToTwitter)
          Post share.
 void reShare(java.lang.String shareId, java.lang.String commentText, VisibilityType visibility)
          Re-share.
 People searchPeople()
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count, SearchSortOrder sortOrder)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count, SearchSortOrder sortOrder, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, SearchSortOrder sortOrder)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, SearchSortOrder sortOrder, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, int start, int count)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, int start, int count, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, int start, int count, SearchSortOrder sortOrder)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, int start, int count, SearchSortOrder sortOrder, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, SearchSortOrder sortOrder)
          Search people.
 People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, SearchSortOrder sortOrder, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields, int start, int count)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields, int start, int count, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields, int start, int count, SearchSortOrder sortOrder)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields, int start, int count, SearchSortOrder sortOrder, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields, SearchSortOrder sortOrder)
          Search people.
 PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, java.util.Set<ProfileField> profileFields, java.util.Set<FacetField> facetFields, SearchSortOrder sortOrder, java.util.List<Parameter<FacetType,java.lang.String>> facets)
          Search people.
 void sendInviteByEmail(java.lang.String email, java.lang.String firstName, java.lang.String lastName, java.lang.String subject, java.lang.String message)
          Send invite.
 void sendInviteById(java.lang.String recepientId, java.lang.String subject, java.lang.String message, java.lang.String authHeader)
          Send invite.
 void sendInviteToPerson(Person recepient, java.lang.String subject, java.lang.String message)
          Send invite.
 void sendMessage(java.util.List<java.lang.String> recepientIds, java.lang.String subject, java.lang.String message)
          Send message.
 void unlikePost(java.lang.String networkUpdateId)
          Unlike post.
 void updateCurrentStatus(java.lang.String status)
          Update current status.
 void updateCurrentStatus(java.lang.String status, boolean postToTwitter)
          Update current status.
 
Methods inherited from interface com.google.code.linkedinapi.client.LinkedInAuthenticationClient
getAccessToken, getApiConsumer, setAccessToken, setApiConsumer
 
Methods inherited from interface com.google.code.linkedinapi.client.LinkedInCommunicationClient
addRequestHeader, getRequestHeaders, removeRequestHeader, setRequestHeaders
 

Method Detail

getProfileForCurrentUser

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

Returns:
the profile for current user

getProfileById

Person getProfileById(java.lang.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

getProfileByUrl

Person getProfileByUrl(java.lang.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

getProfileForCurrentUser

Person getProfileForCurrentUser(java.util.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

getProfileById

Person getProfileById(java.lang.String id,
                      java.util.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

getProfileByUrl

Person getProfileByUrl(java.lang.String url,
                       ProfileType profileType,
                       java.util.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

getProfileByApiRequest

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

getNetworkUpdates

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

Returns:
the network updates

getNetworkUpdates

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

getNetworkUpdates

Network getNetworkUpdates(java.util.Date startDate,
                          java.util.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

getNetworkUpdates

Network getNetworkUpdates(java.util.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

getNetworkUpdates

Network getNetworkUpdates(java.util.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

getNetworkUpdates

Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                          java.util.Date startDate,
                          java.util.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

getNetworkUpdates

Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                          int start,
                          int count,
                          java.util.Date startDate,
                          java.util.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

getNetworkUpdates

Network getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                          int start,
                          int count,
                          java.util.Date startDate,
                          java.util.Date endDate,
                          boolean showHiddenMembers)
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

getUserUpdates

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

Returns:
the network updates

getUserUpdates

Network getUserUpdates(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

getUserUpdates

Network getUserUpdates(java.util.Date startDate,
                       java.util.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

getUserUpdates

Network getUserUpdates(java.util.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

getUserUpdates

Network getUserUpdates(java.util.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

getUserUpdates

Network getUserUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                       java.util.Date startDate,
                       java.util.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

getUserUpdates

Network getUserUpdates(java.util.Set<NetworkUpdateType> updateTypes,
                       int start,
                       int count,
                       java.util.Date startDate,
                       java.util.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

getNetworkUpdateComments

UpdateComments getNetworkUpdateComments(java.lang.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

getNetworkUpdateLikes

Likes getNetworkUpdateLikes(java.lang.String networkUpdateId)
Gets the network update likes. For details see http://developer.linkedin.com/docs/DOC-1043

Parameters:
networkUpdateId - the network update id
Returns:
the network update likes

getConnectionsForCurrentUser

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

Returns:
the connections for current user

getConnectionsById

Connections getConnectionsById(java.lang.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

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.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

getConnectionsForCurrentUser

Connections getConnectionsForCurrentUser(java.util.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

getConnectionsById

Connections getConnectionsById(java.lang.String id,
                               java.util.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

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.String url,
                                java.util.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

getConnectionsForCurrentUser

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

getConnectionsById

Connections getConnectionsById(java.lang.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

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.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

getConnectionsForCurrentUser

Connections getConnectionsForCurrentUser(java.util.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

getConnectionsById

Connections getConnectionsById(java.lang.String id,
                               java.util.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

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.String url,
                                java.util.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

getConnectionsForCurrentUser

Connections getConnectionsForCurrentUser(java.util.Date modificationDate,
                                         ConnectionModificationType modificationType)
Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004

Returns:
the connections for current user

getConnectionsById

Connections getConnectionsById(java.lang.String id,
                               java.util.Date modificationDate,
                               ConnectionModificationType modificationType)
Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters:
id - the id
Returns:
the connections by id

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.String url,
                                java.util.Date modificationDate,
                                ConnectionModificationType modificationType)
Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004

Parameters:
url - the url
Returns:
the connections by url

getConnectionsForCurrentUser

Connections getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields,
                                         java.util.Date modificationDate,
                                         ConnectionModificationType modificationType)
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

getConnectionsById

Connections getConnectionsById(java.lang.String id,
                               java.util.Set<ProfileField> profileFields,
                               java.util.Date modificationDate,
                               ConnectionModificationType modificationType)
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

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.String url,
                                java.util.Set<ProfileField> profileFields,
                                java.util.Date modificationDate,
                                ConnectionModificationType modificationType)
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

getConnectionsForCurrentUser

Connections getConnectionsForCurrentUser(int start,
                                         int count,
                                         java.util.Date modificationDate,
                                         ConnectionModificationType modificationType)
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

getConnectionsById

Connections getConnectionsById(java.lang.String id,
                               int start,
                               int count,
                               java.util.Date modificationDate,
                               ConnectionModificationType modificationType)
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

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.String url,
                                int start,
                                int count,
                                java.util.Date modificationDate,
                                ConnectionModificationType modificationType)
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

getConnectionsForCurrentUser

Connections getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields,
                                         int start,
                                         int count,
                                         java.util.Date modificationDate,
                                         ConnectionModificationType modificationType)
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

getConnectionsById

Connections getConnectionsById(java.lang.String id,
                               java.util.Set<ProfileField> profileFields,
                               int start,
                               int count,
                               java.util.Date modificationDate,
                               ConnectionModificationType modificationType)
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

getConnectionsByUrl

Connections getConnectionsByUrl(java.lang.String url,
                                java.util.Set<ProfileField> profileFields,
                                int start,
                                int count,
                                java.util.Date modificationDate,
                                ConnectionModificationType modificationType)
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

searchPeople

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

Returns:
the people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
Returns:
the people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
Returns:
the people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields,
                    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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields,
                    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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields,
                    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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
Returns:
the people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    int start,
                    int count,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    SearchSortOrder sortOrder,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
sortOrder - the sort order
Returns:
the people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    int start,
                    int count,
                    SearchSortOrder sortOrder,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
Returns:
the people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields,
                    int start,
                    int count,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
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 people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields,
                    SearchSortOrder sortOrder,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
sortOrder - the sort order
Returns:
the people

searchPeople

People searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                    java.util.Set<ProfileField> profileFields,
                    int start,
                    int count,
                    SearchSortOrder sortOrder,
                    java.util.List<Parameter<FacetType,java.lang.String>> facets)
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 people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
Returns:
the people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields,
                          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 people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields,
                          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 people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields,
                          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 people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields,
                          java.util.List<Parameter<FacetType,java.lang.String>> facets)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
Returns:
the people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields,
                          int start,
                          int count,
                          java.util.List<Parameter<FacetType,java.lang.String>> facets)
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 people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields,
                          SearchSortOrder sortOrder,
                          java.util.List<Parameter<FacetType,java.lang.String>> facets)
Search people. For details see http://developer.linkedin.com/docs/DOC-1005

Parameters:
searchParameters - the search parameters
sortOrder - the sort order
Returns:
the people

searchPeople

PeopleSearch searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
                          java.util.Set<ProfileField> profileFields,
                          java.util.Set<FacetField> facetFields,
                          int start,
                          int count,
                          SearchSortOrder sortOrder,
                          java.util.List<Parameter<FacetType,java.lang.String>> facets)
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 people

postNetworkUpdate

void postNetworkUpdate(java.lang.String updateText)
Post network update. For details see http://developer.linkedin.com/docs/DOC-1009

Parameters:
updateText - the update text

postComment

void postComment(java.lang.String networkUpdateId,
                 java.lang.String commentText)
Post comment. For details see http://developer.linkedin.com/docs/DOC-1043

Parameters:
networkUpdateId - the network update id
commentText - the comment text

likePost

void likePost(java.lang.String networkUpdateId)
Like post. For details see http://developer.linkedin.com/docs/DOC-1043

Parameters:
networkUpdateId - the network update id

unlikePost

void unlikePost(java.lang.String networkUpdateId)
Unlike post. For details see http://developer.linkedin.com/docs/DOC-1043

Parameters:
networkUpdateId - the network update id

updateCurrentStatus

void updateCurrentStatus(java.lang.String status)
Update current status. For details see http://developer.linkedin.com/docs/DOC-1007

Parameters:
status - the status

updateCurrentStatus

void updateCurrentStatus(java.lang.String status,
                         boolean postToTwitter)
Update current status. For details see http://developer.linkedin.com/docs/DOC-1007

Parameters:
status - the status

deleteCurrentStatus

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


sendMessage

void sendMessage(java.util.List<java.lang.String> recepientIds,
                 java.lang.String subject,
                 java.lang.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

sendInviteByEmail

void sendInviteByEmail(java.lang.String email,
                       java.lang.String firstName,
                       java.lang.String lastName,
                       java.lang.String subject,
                       java.lang.String message)
Send invite. For details see http://developer.linkedin.com/docs/DOC-1012

Parameters:
email - the email
firstName - the first name
lastName - the last name
subject - the subject
message - the message

sendInviteById

void sendInviteById(java.lang.String recepientId,
                    java.lang.String subject,
                    java.lang.String message,
                    java.lang.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 ApiStandardProfileRequest.getHeaders() from Person.getApiStandardProfileRequest() and then getting the value of header with name ApplicationConstants.AUTH_HEADER_NAME.

Parameters:
recepientId - the recepient id
subject - the subject
message - the message
authHeader - the auth header

sendInviteToPerson

void sendInviteToPerson(Person recepient,
                        java.lang.String subject,
                        java.lang.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 ApiStandardProfileRequest.getHeaders() from Person.getApiStandardProfileRequest() and then getting the value of header with name ApplicationConstants.AUTH_HEADER_NAME.

Parameters:
recepient - the recepient
subject - the subject
message - the message

postShare

void postShare(java.lang.String commentText,
               java.lang.String title,
               java.lang.String url,
               java.lang.String imageUrl,
               VisibilityType visibility)
Post share. For details see http://developer.linkedin.com/docs/DOC-1212

Parameters:
commentText - the comment text
title - the title
url - the url
imageUrl - the image url
visibility - the visibility

postShare

void postShare(java.lang.String commentText,
               java.lang.String title,
               java.lang.String url,
               java.lang.String imageUrl,
               VisibilityType visibility,
               boolean postToTwitter)
Post share. For details see http://developer.linkedin.com/docs/DOC-1212

Parameters:
commentText - the comment text
title - the title
url - the url
imageUrl - the image url
visibility - the visibility

reShare

void reShare(java.lang.String shareId,
             java.lang.String commentText,
             VisibilityType visibility)
Re-share. For details see http://developer.linkedin.com/docs/DOC-1212

Parameters:
shareId - the share id
visibility - the visibility