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