Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
habuma committed Feb 17, 2012
1 parent b3c579e commit 2a9820f
Show file tree
Hide file tree
Showing 37 changed files with 63 additions and 37 deletions.
Expand Up @@ -19,8 +19,8 @@

public class ApiStandardProfileRequest implements Serializable {

private static final long serialVersionUID = -4957171160371820101L;
private static final long serialVersionUID = 1L;

private final String name;

private final String value;
Expand Down
Expand Up @@ -22,7 +22,6 @@
* users on LinkedIn
*
* @author Robert Drysdale
*
*/
public interface CommunicationOperations {

Expand Down
Expand Up @@ -20,9 +20,9 @@
* Search Result for querying companies
*
* @author Robert Drysdale
*
*/
public class Companies extends SearchResult {

private static final long serialVersionUID = 1L;

private List<Company> companies;
Expand Down
Expand Up @@ -20,6 +20,8 @@

/**
* Model class representing a Company
*
* @author Robert Drysdale
*/
public class Company implements Serializable {

Expand Down
Expand Up @@ -17,10 +17,17 @@

import java.io.Serializable;

/**
* Model class representing a Company Job Update
*
* @author Robert Drysdale
*/
public class CompanyJobUpdate implements Serializable {

private static final long serialVersionUID = 1L;

private String action;

private Job job;

public CompanyJobUpdate(String action, Job job) {
Expand Down
Expand Up @@ -18,7 +18,7 @@
import java.util.List;

/**
* Operations related to Companies on LinkedIn
* Operations related to Companies on LinkedIn
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -25,6 +25,7 @@
* @author Robert Drysdale
*/
public class GroupSettings implements Serializable {

private static final long serialVersionUID = 1L;

private final Boolean allowMessagesFromMembers;
Expand Down
Expand Up @@ -21,7 +21,6 @@
* Model class representing IM (Instance Message) Account Details for a Profile on LinkedIn
*
* @author Robert Drysdale
*
*/
public class ImAccount implements Serializable {

Expand Down
Expand Up @@ -19,7 +19,7 @@

/**
* Search parameters to search for jobs.
* Leave parameters as null to turn off.
* Null parameters will not be used as search criteria.
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -20,16 +20,9 @@
import org.springframework.web.client.RestOperations;

/**
* <p>
* Interface specifying a basic set of operations for interacting with LinkedIn.
* Implemented by {@link LinkedInTemplate}.
* </p>
*
* <p>
* Many of the methods contained in this interface require OAuth authentication
* with LinkedIn. When a method's description speaks of the "current user", it
* is referring to the user for whom the access token has been issued.
* </p>
* Interface specifying a basic set of operations for interacting with LinkedIn. Implemented by {@link LinkedInTemplate}.
* Many of the methods contained in this interface require OAuth authentication with LinkedIn.
* When a method's description speaks of the "current user", it is referring to the user for whom the access token has been issued.
*
* @author Craig Walls
* @author Robert Drysdale
Expand Down
Expand Up @@ -15,14 +15,17 @@
*/
package org.springframework.social.linkedin.api;

import java.io.Serializable;
import java.util.List;

/**
* A model class containing a list of a user's connections on LinkedIn.
*
* @author Craig Walls
*/
public class LinkedInConnections {
public class LinkedInConnections implements Serializable {

private static final long serialVersionUID = 1L;

private List<LinkedInProfile> connections;

Expand Down
Expand Up @@ -15,14 +15,17 @@
*/
package org.springframework.social.linkedin.api;

import java.io.Serializable;

/**
* LinkedIn Date which just contains year, month and day
*
* @author Robert Drysdale
*
*/
public class LinkedInDate {
public class LinkedInDate implements Serializable {

private static final long serialVersionUID = 1L;

private final int year;

private final int month;
Expand Down
Expand Up @@ -21,6 +21,7 @@

/**
* Model class containing a user's LinkedIn Network update information.
*
* @author Robert Drysdale
*/
public class LinkedInNetworkUpdate implements Serializable {
Expand Down
Expand Up @@ -15,14 +15,17 @@
*/
package org.springframework.social.linkedin.api;

import java.io.Serializable;
import java.util.List;

/**
* A model class containing a list of a user's network updates on LinkedIn.
*
* @author Robert Drysdale
*/
public class LinkedInNetworkUpdates {
public class LinkedInNetworkUpdates implements Serializable {

private static final long serialVersionUID = 1L;

private List<LinkedInNetworkUpdate> updates;

Expand Down
Expand Up @@ -19,6 +19,7 @@

/**
* Model class containing a user's LinkedIn profile information.
*
* @author Craig Walls
*/
public class LinkedInProfile implements Serializable {
Expand Down
Expand Up @@ -18,7 +18,7 @@
import java.io.Serializable;

/**
* Location
* Model class representing a location.
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -18,7 +18,7 @@
import java.io.Serializable;

/**
* Member Group
* Model class representing a Member Group.
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -21,9 +21,9 @@
* Network Statistics
*
* @author Robert Drysdale
*
*/
public class NetworkStatistics implements Serializable {

private static final long serialVersionUID = 1L;

private final int firstDegreeCount;
Expand Down
Expand Up @@ -20,7 +20,7 @@
import java.util.List;

/**
* Model Object passed to getNetworkUpdates() to control what parameters are set on the Http GET request to LinkedIn Network Updates API.
* Model Object passed to getNetworkUpdates() to control what parameters are set on the HTTP GET request to LinkedIn Network Updates API.
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -21,7 +21,6 @@
* Phone Number
*
* @author Robert Drysdale
*
*/
public class PhoneNumber implements Serializable {

Expand Down
Expand Up @@ -19,10 +19,14 @@
import java.util.Date;
import java.util.List;

/**
* Model class representing a Post.
*
* @author Robert Drysdale
*/
public class Post implements Serializable {

private static final long serialVersionUID = 1L;

private static final long serialVersionUID = 1L;

private final LinkedInProfile creator;

Expand Down
Expand Up @@ -21,9 +21,11 @@

/**
* Model class representing a product.
*
* @author Robert Drysdale
*/
public class Product implements Serializable {

private static final long serialVersionUID = 1L;

private final Date creationTimestamp;
Expand Down
Expand Up @@ -23,6 +23,7 @@
* @author Robert Drysdale
*/
public class Recommendation implements Serializable {

private static final long serialVersionUID = 1L;

private final String id;
Expand Down
Expand Up @@ -18,13 +18,13 @@
import java.io.Serializable;

/**
* Relation
* Model class representing a relation.
*
* @author Robert Drysdale
*/
public class Relation implements Serializable {

private static final long serialVersionUID = -3045269758643542427L;
private static final long serialVersionUID = 1L;

private final int distance;

Expand Down
Expand Up @@ -17,6 +17,7 @@

/**
* Profile search parameters
*
* @author Robert Drysdale
*/
public class SearchParameters {
Expand Down
Expand Up @@ -23,6 +23,7 @@
* @author Robert Drysdale
*/
public abstract class SearchResult implements Serializable {

private static final long serialVersionUID = 1L;

private final int count;
Expand Down
Expand Up @@ -19,11 +19,12 @@
import java.util.Date;

/**
* Share
* Model class representing a share.
*
* @author Robert Drysdale
*/
public class Share implements Serializable {

private static final long serialVersionUID = 1L;

private final String comment;
Expand Down
Expand Up @@ -18,7 +18,7 @@
import java.io.Serializable;

/**
* Twitter account
* Model class representing a user's Twitter account.
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -19,11 +19,12 @@
import java.util.List;

/**
* Update Action
* Model class representing an update action.
*
* @author Robert Drysdale
*/
public class UpdateAction extends LinkedInNetworkUpdate {

private static final long serialVersionUID = 1L;

private String action;
Expand Down
Expand Up @@ -19,7 +19,6 @@
* A Company Update
*
* @author Robert Drysdale
*
*/
public class UpdateContentCompany extends UpdateContent {

Expand Down
Expand Up @@ -18,7 +18,7 @@
import java.util.List;

/**
* A connection update
* Model class representing a connection update.
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -14,8 +14,9 @@
* limitations under the License.
*/
package org.springframework.social.linkedin.api;

/**
* A follow update
* Model class repreenting a follow update.
*
* @author Robert Drysdale
*/
Expand Down
Expand Up @@ -16,6 +16,7 @@
package org.springframework.social.linkedin.api;

import java.util.List;

/**
* A group update
*
Expand Down
Expand Up @@ -16,6 +16,7 @@
package org.springframework.social.linkedin.api;

import java.util.List;

/**
* A person activity update
*
Expand Down
Expand Up @@ -16,11 +16,11 @@
package org.springframework.social.linkedin.api;

import java.util.List;

/**
* A recommendation update
*
* @author Robert Drysdale
*
*/
public class UpdateContentRecommendation extends UpdateContent {

Expand Down

0 comments on commit 2a9820f

Please sign in to comment.