|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncLinkedInApiClient
The Interface AsyncLinkedInApiClient. This interface can be used for asynchronous invocation of API methods.
Method Summary | |
---|---|
java.util.concurrent.Future<?> |
deleteCurrentStatus()
Delete current status. |
java.util.concurrent.Future<Connections> |
getConnectionsById(java.lang.String id)
Gets the connections by id. |
java.util.concurrent.Future<Connections> |
getConnectionsById(java.lang.String id,
int start,
int count)
Gets the connections by id. |
java.util.concurrent.Future<Connections> |
getConnectionsById(java.lang.String id,
java.util.Set<ProfileField> profileFields)
Gets the connections by id. |
java.util.concurrent.Future<Connections> |
getConnectionsById(java.lang.String id,
java.util.Set<ProfileField> profileFields,
int start,
int count)
Gets the connections by id. |
java.util.concurrent.Future<Connections> |
getConnectionsByUrl(java.lang.String url)
Gets the connections by url. |
java.util.concurrent.Future<Connections> |
getConnectionsByUrl(java.lang.String url,
int start,
int count)
Gets the connections by url. |
java.util.concurrent.Future<Connections> |
getConnectionsByUrl(java.lang.String url,
java.util.Set<ProfileField> profileFields)
Gets the connections by url. |
java.util.concurrent.Future<Connections> |
getConnectionsByUrl(java.lang.String url,
java.util.Set<ProfileField> profileFields,
int start,
int count)
Gets the connections by url. |
java.util.concurrent.Future<Connections> |
getConnectionsForCurrentUser()
Gets the connections for current user. |
java.util.concurrent.Future<Connections> |
getConnectionsForCurrentUser(int start,
int count)
Gets the connections for current user. |
java.util.concurrent.Future<Connections> |
getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields)
Gets the connections for current user. |
java.util.concurrent.Future<Connections> |
getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields,
int start,
int count)
Gets the connections for current user. |
java.util.concurrent.Future<UpdateComments> |
getNetworkUpdateComments(java.lang.String networkUpdateId)
Gets the network update comments. |
java.util.concurrent.Future<Network> |
getNetworkUpdates()
Gets the network updates. |
java.util.concurrent.Future<Network> |
getNetworkUpdates(java.util.Date startDate,
java.util.Date endDate)
Gets the network updates. |
java.util.concurrent.Future<Network> |
getNetworkUpdates(int start,
int count)
Gets the network updates. |
java.util.concurrent.Future<Network> |
getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes)
Gets the network updates. |
java.util.concurrent.Future<Network> |
getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
java.util.Date startDate,
java.util.Date endDate)
Gets the network updates. |
java.util.concurrent.Future<Network> |
getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
int start,
int count)
Gets the network updates. |
java.util.concurrent.Future<Network> |
getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes,
int start,
int count,
java.util.Date startDate,
java.util.Date endDate)
Gets the network updates. |
java.util.concurrent.Future<Person> |
getProfileByApiRequest(ApiStandardProfileRequest apiRequest)
Gets the profile by API request. |
java.util.concurrent.Future<Person> |
getProfileById(java.lang.String id)
Gets the profile by id. |
java.util.concurrent.Future<Person> |
getProfileById(java.lang.String id,
java.util.Set<ProfileField> profileFields)
Gets the profile by id. |
java.util.concurrent.Future<Person> |
getProfileByUrl(java.lang.String url,
ProfileType profileType)
Gets the profile by url. |
java.util.concurrent.Future<Person> |
getProfileByUrl(java.lang.String url,
ProfileType profileType,
java.util.Set<ProfileField> profileFields)
Gets the profile by url. |
java.util.concurrent.Future<Person> |
getProfileForCurrentUser()
Gets the profile for current user. |
java.util.concurrent.Future<Person> |
getProfileForCurrentUser(java.util.Set<ProfileField> profileFields)
Gets the profile for current user. |
java.util.concurrent.Future<?> |
postComment(java.lang.String networkUpdateId,
java.lang.String commentText)
Post comment. |
java.util.concurrent.Future<?> |
postNetworkUpdate(java.lang.String updateText)
Post network update. |
java.util.concurrent.Future<People> |
searchPeople()
Search people. |
java.util.concurrent.Future<People> |
searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters)
Search people. |
java.util.concurrent.Future<People> |
searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
int start,
int count)
Search people. |
java.util.concurrent.Future<People> |
searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
int start,
int count,
SearchSortOrder sortOrder)
Search people. |
java.util.concurrent.Future<People> |
searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters,
SearchSortOrder sortOrder)
Search people. |
java.util.concurrent.Future<?> |
sendInviteByEmail(java.lang.String email,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String subject,
java.lang.String message)
Send invite. |
java.util.concurrent.Future<?> |
sendInviteById(java.lang.String recepientId,
java.lang.String subject,
java.lang.String message,
java.lang.String authHeader)
Send invite. |
java.util.concurrent.Future<?> |
sendInviteToPerson(Person recepient,
java.lang.String subject,
java.lang.String message)
Send invite. |
java.util.concurrent.Future<?> |
sendMessage(java.util.List<java.lang.String> recepientIds,
java.lang.String subject,
java.lang.String message)
Send message. |
java.util.concurrent.Future<?> |
updateCurrentStatus(java.lang.String status)
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 |
---|
java.util.concurrent.Future<Person> getProfileForCurrentUser()
java.util.concurrent.Future<Person> getProfileById(java.lang.String id)
id
- the idprofileType
- the profile type
java.util.concurrent.Future<Person> getProfileByUrl(java.lang.String url, ProfileType profileType)
url
- the urlprofileType
- the profile type
java.util.concurrent.Future<Person> getProfileForCurrentUser(java.util.Set<ProfileField> profileFields)
profileFields
- the profile fields
java.util.concurrent.Future<Person> getProfileById(java.lang.String id, java.util.Set<ProfileField> profileFields)
id
- the idprofileType
- the profile typeprofileFields
- the profile fields
java.util.concurrent.Future<Person> getProfileByUrl(java.lang.String url, ProfileType profileType, java.util.Set<ProfileField> profileFields)
url
- the urlprofileType
- the profile typeprofileFields
- the profile fields
java.util.concurrent.Future<Person> getProfileByApiRequest(ApiStandardProfileRequest apiRequest)
apiRequest
- the api request
java.util.concurrent.Future<Network> getNetworkUpdates()
java.util.concurrent.Future<Network> getNetworkUpdates(int start, int count)
start
- the startcount
- the count
java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Date startDate, java.util.Date endDate)
startDate
- the start dateendDate
- the end date
java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes)
updateTypes
- the update types
java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count)
updateTypes
- the update typesstart
- the startcount
- the count
java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, java.util.Date startDate, java.util.Date endDate)
updateTypes
- the update typesstartDate
- the start dateendDate
- the end date
java.util.concurrent.Future<Network> getNetworkUpdates(java.util.Set<NetworkUpdateType> updateTypes, int start, int count, java.util.Date startDate, java.util.Date endDate)
updateTypes
- the update typesstart
- the startcount
- the countstartDate
- the start dateendDate
- the end date
java.util.concurrent.Future<UpdateComments> getNetworkUpdateComments(java.lang.String networkUpdateId)
networkUpdateId
- the network update id
java.util.concurrent.Future<Connections> getConnectionsForCurrentUser()
java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id)
id
- the id
java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url)
url
- the url
java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields)
profileFields
- the profile fields
java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields)
id
- the idprofileFields
- the profile fields
java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields)
url
- the urlprofileFields
- the profile fields
java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(int start, int count)
start
- the startcount
- the count
java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id, int start, int count)
id
- the idstart
- the startcount
- the count
java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url, int start, int count)
url
- the urlstart
- the startcount
- the count
java.util.concurrent.Future<Connections> getConnectionsForCurrentUser(java.util.Set<ProfileField> profileFields, int start, int count)
profileFields
- the profile fieldsstart
- the startcount
- the count
java.util.concurrent.Future<Connections> getConnectionsById(java.lang.String id, java.util.Set<ProfileField> profileFields, int start, int count)
id
- the idprofileFields
- the profile fieldsstart
- the startcount
- the count
java.util.concurrent.Future<Connections> getConnectionsByUrl(java.lang.String url, java.util.Set<ProfileField> profileFields, int start, int count)
url
- the urlprofileFields
- the profile fieldsstart
- the startcount
- the count
java.util.concurrent.Future<People> searchPeople()
java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters)
searchParameters
- the search parameters
java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count)
searchParameters
- the search parametersstart
- the startcount
- the count
java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, SearchSortOrder sortOrder)
searchParameters
- the search parameterssortOrder
- the sort order
java.util.concurrent.Future<People> searchPeople(java.util.Map<SearchParameter,java.lang.String> searchParameters, int start, int count, SearchSortOrder sortOrder)
searchParameters
- the search parametersstart
- the startcount
- the countsortOrder
- the sort order
java.util.concurrent.Future<?> postNetworkUpdate(java.lang.String updateText)
updateText
- the update text
java.util.concurrent.Future<?> postComment(java.lang.String networkUpdateId, java.lang.String commentText)
networkUpdateId
- the network update idcommentText
- the comment text
java.util.concurrent.Future<?> updateCurrentStatus(java.lang.String status)
status
- the status
java.util.concurrent.Future<?> deleteCurrentStatus()
java.util.concurrent.Future<?> sendMessage(java.util.List<java.lang.String> recepientIds, java.lang.String subject, java.lang.String message)
recepientIds
- the recepient idssubject
- the subjectmessage
- the message
java.util.concurrent.Future<?> sendInviteByEmail(java.lang.String email, java.lang.String firstName, java.lang.String lastName, java.lang.String subject, java.lang.String message)
email
- the recepient emailfirstName
- the first namelastName
- the last namesubject
- the subjectmessage
- the message
java.util.concurrent.Future<?> sendInviteById(java.lang.String recepientId, java.lang.String subject, java.lang.String message, java.lang.String authHeader)
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
.
recepientId
- the recepient idsubject
- the subjectmessage
- the messageauthHeader
- the auth header
java.util.concurrent.Future<?> sendInviteToPerson(Person recepient, java.lang.String subject, java.lang.String message)
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
.
recepient
- the recepientsubject
- the subjectmessage
- the message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |