void
|
addLocale(Locale locale)
|
void
|
addRequestHeader(String headerName, String headerValue)
Adds the request header.
|
void
|
assertNotNull(String name, Object value)
|
void
|
assertNotNullOrEmpty(String name, Collection<?> value)
|
void
|
assertNotNullOrEmpty(String name, String value)
|
void
|
assertPositiveNumber(String name, int value)
|
InputStream
|
callApiMethod(String apiUrl)
|
InputStream
|
callApiMethod(String apiUrl, String xmlContent, String contentType, HttpMethod method, int expected)
|
InputStream
|
callApiMethod(String apiUrl, List<HttpHeader> httpHeaders)
|
InputStream
|
callApiMethod(String apiUrl, int expected, List<HttpHeader> httpHeaders)
|
void
|
closeConnection(HttpURLConnection connection)
Method description
|
void
|
closeStream(InputStream is)
Method description
|
static
String
|
convertStreamToString(InputStream is)
Stolen liberally from http://www.kodejava.org/examples/266.html
|
LinkedInApiClientException
|
createLinkedInApiClientException(Error error)
Method description
|
abstract
LinkedInApiUrls.LinkedInApiUrlBuilder
|
createLinkedInApiUrlBuilder(String urlFormat)
Method description
|
abstract
SchemaElementFactory<?>
|
createObjectFactory()
Method description
|
void
|
deleteCurrentStatus()
Delete current status.
|
LinkedInAccessToken
|
getAccessToken()
Method description
|
LinkedInApiConsumer
|
getApiConsumer()
Method description
|
Connections
|
getConnectionsById(String id, int start, int count, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by id.
|
Connections
|
getConnectionsById(String id, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by id.
|
Connections
|
getConnectionsById(String id)
Gets the connections by id.
|
Connections
|
getConnectionsById(String id, Set<ProfileField> profileFields, int start, int count)
Gets the connections by id.
|
Connections
|
getConnectionsById(String id, int start, int count)
Gets the connections by id.
|
Connections
|
getConnectionsById(String id, Set<ProfileField> profileFields)
Gets the connections by id.
|
Connections
|
getConnectionsById(String id, Set<ProfileField> profileFields, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by id.
|
Connections
|
getConnectionsById(String id, Set<ProfileField> profileFields, int start, int count, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by id.
|
Connections
|
getConnectionsByUrl(String url, Set<ProfileField> profileFields, int start, int count)
Gets the connections by url.
|
Connections
|
getConnectionsByUrl(String url, int start, int count)
Gets the connections by url.
|
Connections
|
getConnectionsByUrl(String url, Set<ProfileField> profileFields, int start, int count, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by url.
|
Connections
|
getConnectionsByUrl(String url)
Gets the connections by url.
|
Connections
|
getConnectionsByUrl(String url, Set<ProfileField> profileFields)
Gets the connections by url.
|
Connections
|
getConnectionsByUrl(String url, Set<ProfileField> profileFields, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by url.
|
Connections
|
getConnectionsByUrl(String url, int start, int count, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by url.
|
Connections
|
getConnectionsByUrl(String url, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections by url.
|
Connections
|
getConnectionsForCurrentUser(int start, int count)
Gets the connections for current user.
|
Connections
|
getConnectionsForCurrentUser(Set<ProfileField> profileFields, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections for current user.
|
Connections
|
getConnectionsForCurrentUser(Set<ProfileField> profileFields, int start, int count)
Gets the connections for current user.
|
Connections
|
getConnectionsForCurrentUser()
Gets the connections for current user.
|
Connections
|
getConnectionsForCurrentUser(Set<ProfileField> profileFields)
Gets the connections for current user.
|
Connections
|
getConnectionsForCurrentUser(int start, int count, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections for current user.
|
Connections
|
getConnectionsForCurrentUser(Date modificationDate, ConnectionModificationType modificationType)
Gets the connections for current user.
|
Connections
|
getConnectionsForCurrentUser(Set<ProfileField> profileFields, int start, int count, Date modificationDate, ConnectionModificationType modificationType)
Gets the connections for current user.
|
UpdateComments
|
getNetworkUpdateComments(String networkUpdateId)
Gets the network update comments.
|
Likes
|
getNetworkUpdateLikes(String networkUpdateId)
Gets the network update likes.
|
Network
|
getNetworkUpdates(int start, int count)
Gets the network updates.
|
Network
|
getNetworkUpdates(Date startDate, Date endDate)
Gets the network updates.
|
Network
|
getNetworkUpdates(Set<NetworkUpdateType> updateTypes, Date startDate, Date endDate)
Gets the network updates.
|
Network
|
getNetworkUpdates(Set<NetworkUpdateType> updateTypes)
Gets the network updates.
|
Network
|
getNetworkUpdates()
Gets the network updates.
|
Network
|
getNetworkUpdates(Set<NetworkUpdateType> updateTypes, int start, int count, Date startDate, Date endDate, boolean showHiddenMembers)
Gets the network updates.
|
Network
|
getNetworkUpdates(Set<NetworkUpdateType> updateTypes, int start, int count)
Gets the network updates.
|
Network
|
getNetworkUpdates(Set<NetworkUpdateType> updateTypes, int start, int count, Date startDate, Date endDate)
Gets the network updates.
|
Person
|
getProfileByApiRequest(ApiStandardProfileRequest apiRequest)
Gets the profile by API request.
|
Person
|
getProfileById(String id, Set<ProfileField> profileFields)
Gets the profile by id.
|
Person
|
getProfileById(String id, ProfileType profileType, Set<ProfileField> profileFields)
|
Person
|
getProfileById(String id)
Gets the profile by id.
|
Person
|
getProfileById(String id, ProfileType profileType)
|
Person
|
getProfileByUrl(String url, ProfileType profileType)
Gets the profile by url.
|
Person
|
getProfileByUrl(String url, ProfileType profileType, Set<ProfileField> profileFields)
Gets the profile by url.
|
Person
|
getProfileForCurrentUser()
Gets the profile for current user.
|
Person
|
getProfileForCurrentUser(Set<ProfileField> profileFields)
Gets the profile for current user.
|
Map<String, String>
|
getRequestHeaders()
Gets the request headers.
|
Network
|
getUserUpdates(Set<NetworkUpdateType> updateTypes)
Gets the network updates.
|
Network
|
getUserUpdates(Set<NetworkUpdateType> updateTypes, int start, int count, Date startDate, Date endDate)
Gets the network updates.
|
Network
|
getUserUpdates(int start, int count)
Gets the network updates.
|
Network
|
getUserUpdates()
Gets the network updates.
|
Network
|
getUserUpdates(String id, Set<NetworkUpdateType> updateTypes, int start, int count, Date startDate, Date endDate)
Gets the network updates.
|
Network
|
getUserUpdates(String id, Date startDate, Date endDate)
Gets the network updates.
|
Network
|
getUserUpdates(Date startDate, Date endDate)
Gets the network updates.
|
Network
|
getUserUpdates(Set<NetworkUpdateType> updateTypes, int start, int count)
Gets the network updates.
|
Network
|
getUserUpdates(String id, int start, int count)
Gets the network updates.
|
Network
|
getUserUpdates(String id, Set<NetworkUpdateType> updateTypes)
Gets the network updates.
|
Network
|
getUserUpdates(String id, Set<NetworkUpdateType> updateTypes, Date startDate, Date endDate)
Gets the network updates.
|
Network
|
getUserUpdates(String id)
Gets the network updates.
|
Network
|
getUserUpdates(String id, Set<NetworkUpdateType> updateTypes, int start, int count)
Gets the network updates.
|
Network
|
getUserUpdates(Set<NetworkUpdateType> updateTypes, Date startDate, Date endDate)
Gets the network updates.
|
InputStream
|
getWrappedInputStream(InputStream is, boolean gzip)
Method description@return
|
boolean
|
isNullOrEmpty(String s)
Get property as long.
|
void
|
likePost(String networkUpdateId)
Like post.
|
abstract
String
|
marshallObject(Object element)
Method description
|
void
|
postComment(String networkUpdateId, String commentText)
Post comment.
|
void
|
postNetworkUpdate(String updateText)
Post network update.
|
void
|
postShare(String commentText, String title, String url, String imageUrl, VisibilityType visibility)
Post share.
|
void
|
postShare(String commentText, String title, String url, String imageUrl, VisibilityType visibilityType, boolean postToTwitter)
Post share.
|
void
|
reShare(String shareId, String commentText, VisibilityType visibilityType)
Re-share.
|
<T>
T
|
readResponse(Class<T> clazz, InputStream is)
Method description
|
void
|
removeRequestHeader(String headerName)
Removes the request header.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, SearchSortOrder sortOrder)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, int start, int count, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople()
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, SearchSortOrder sortOrder, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, int start, int count, List<Parameter<FacetType, String>> facets)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields, int start, int count, SearchSortOrder sortOrder)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields, SearchSortOrder sortOrder, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, int start, int count, SearchSortOrder sortOrder, List<Parameter<FacetType, String>> facets)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields, int start, int count, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, int start, int count, SearchSortOrder sortOrder)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, int start, int count, SearchSortOrder sortOrder)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields, List<Parameter<FacetType, String>> facets)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields, int start, int count)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, int start, int count)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, int start, int count)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, SearchSortOrder sortOrder, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields, int start, int count, SearchSortOrder sortOrder, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, int start, int count, SearchSortOrder sortOrder, List<Parameter<FacetType, String>> facets)
Search people.
|
People
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, SearchSortOrder sortOrder)
Search people.
|
PeopleSearch
|
searchPeople(Map<SearchParameter, String> searchParameters, Set<ProfileField> profileFields, Set<FacetField> facetFields, SearchSortOrder sortOrder)
Search people.
|
void
|
sendInviteByEmail(String email, String firstName, String lastName, String subject, String message)
Send invite.
|
void
|
sendInviteById(String recepientId, String subject, String message, String authHeader)
Send invite.
|
void
|
sendInviteToPerson(Person recepient, String subject, String message)
Send invite.
|
void
|
sendMessage(List<String> recepientIds, String subject, String message)
Send message.
|
void
|
setAccessToken(LinkedInAccessToken accessToken)
Method description
|
void
|
setApiConsumer(LinkedInApiConsumer apiConsumer)
Method description
|
void
|
setRequestHeaders(Map<String, String> requestHeaders)
Sets the request headers.
|
void
|
unlikePost(String networkUpdateId)
Unlike post.
|
abstract
<T>
T
|
unmarshallObject(Class<T> clazz, InputStream xmlContent)
Method description
|
void
|
updateCurrentStatus(String statusText, boolean postToTwitter)
|
void
|
updateCurrentStatus(String statusText)
|