org.springframework.social.linkedin.api
Interface ConnectionOperations


public interface ConnectionOperations

Operations related to User Connections on LinkedIn


Method Summary
 java.util.List<LinkedInProfile> getConnections()
          Retrieves up to 500 of the 1st-degree connections from the current user's network.
 java.util.List<LinkedInProfile> getConnections(int start, int count)
          Retrieves the 1st-degree connections from the current user's network.
 NetworkStatistics getNetworkStatistics()
          Retrieve Network Statistics for User Contains Count of First Degree and Second Degree Connections
 

Method Detail

getConnections

java.util.List<LinkedInProfile> getConnections()
Retrieves up to 500 of the 1st-degree connections from the current user's network.

Returns:
the user's connections

getConnections

java.util.List<LinkedInProfile> getConnections(int start,
                                               int count)
Retrieves the 1st-degree connections from the current user's network.

Parameters:
start - The starting location in the result set. Used with count for pagination.
count - The number of connections to return. The maximum value is 500. Used with start for pagination.
Returns:
the user's connections

getNetworkStatistics

NetworkStatistics getNetworkStatistics()
Retrieve Network Statistics for User Contains Count of First Degree and Second Degree Connections

Returns:
Network Statistics