com.google.code.linkedinapi.client.enumeration
Enum NetworkUpdateType

java.lang.Object
  extended by java.lang.Enum<NetworkUpdateType>
      extended by com.google.code.linkedinapi.client.enumeration.NetworkUpdateType
All Implemented Interfaces:
FieldEnum, java.io.Serializable, java.lang.Comparable<NetworkUpdateType>

public enum NetworkUpdateType
extends java.lang.Enum<NetworkUpdateType>
implements FieldEnum

Author:
Nabeel Mukhtar

Enum Constant Summary
ANSWER_UPDATE
          A connection has answered a question posed on LinkedIn Answers.
APPLICATION_UPDATE
          An action that occurred in a partner application either by a connection or by an application itself.
CONNECTION_UPDATE
          These updates cover aspects of connections made on LinkedIn.
EXTENDED_PROFILE_UPDATE
          A connection has updated their extended profile, personal information such as phone number, IM account, and Twitter handle.
GROUP_UPDATE
          A connection has joined a group.
JOB_UPDATE
          A connection has posted a job posting on LinkedIn
PICTURE_UPDATE
          A connection has updated their profile picture.
PROFILE_UPDATE
          A connection has updated their profile.
QUESTION_UPDATE
          A connection has asked a question on LinkedIn Answers.
RECOMMENDATION_UPDATE
          A connection was recommended
SHARED_ITEM
          A connection has shared an update or link.
STATUS_UPDATE
          Deprecated. Use SHARED_ITEM
 
Field Summary
private  java.lang.String fieldName
          Field description
private static java.util.Map<java.lang.String,NetworkUpdateType> stringToEnum
          Field Description.
 
Method Summary
 java.lang.String fieldName()
           
static NetworkUpdateType fromString(java.lang.String symbol)
           
 java.lang.String toString()
          Method description
static NetworkUpdateType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NetworkUpdateType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANSWER_UPDATE

public static final NetworkUpdateType ANSWER_UPDATE
A connection has answered a question posed on LinkedIn Answers.


APPLICATION_UPDATE

public static final NetworkUpdateType APPLICATION_UPDATE
An action that occurred in a partner application either by a connection or by an application itself. The contents of the update will be HTML entity encoded.


CONNECTION_UPDATE

public static final NetworkUpdateType CONNECTION_UPDATE
These updates cover aspects of connections made on LinkedIn. They cover both the user connecting and the user's connections making connections (second degree connections).


JOB_UPDATE

public static final NetworkUpdateType JOB_UPDATE
A connection has posted a job posting on LinkedIn


GROUP_UPDATE

public static final NetworkUpdateType GROUP_UPDATE
A connection has joined a group.


PICTURE_UPDATE

public static final NetworkUpdateType PICTURE_UPDATE
A connection has updated their profile picture.


EXTENDED_PROFILE_UPDATE

public static final NetworkUpdateType EXTENDED_PROFILE_UPDATE
A connection has updated their extended profile, personal information such as phone number, IM account, and Twitter handle.


RECOMMENDATION_UPDATE

public static final NetworkUpdateType RECOMMENDATION_UPDATE
A connection was recommended


PROFILE_UPDATE

public static final NetworkUpdateType PROFILE_UPDATE
A connection has updated their profile. This does not include picture updates, which are covered under PICT type.


QUESTION_UPDATE

public static final NetworkUpdateType QUESTION_UPDATE
A connection has asked a question on LinkedIn Answers.


STATUS_UPDATE

@Deprecated
public static final NetworkUpdateType STATUS_UPDATE
Deprecated. Use SHARED_ITEM
A connection has updated their status.


SHARED_ITEM

public static final NetworkUpdateType SHARED_ITEM
A connection has shared an update or link.

Field Detail

stringToEnum

private static final java.util.Map<java.lang.String,NetworkUpdateType> stringToEnum
Field Description.


fieldName

private final java.lang.String fieldName
Field description

Method Detail

values

public static NetworkUpdateType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NetworkUpdateType c : NetworkUpdateType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NetworkUpdateType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fieldName

public java.lang.String fieldName()
Specified by:
fieldName in interface FieldEnum
Returns:
the name of the field

toString

public java.lang.String toString()
Method description

Overrides:
toString in class java.lang.Enum<NetworkUpdateType>
Returns:

fromString

public static NetworkUpdateType fromString(java.lang.String symbol)
Returns:
Returns NetworkUpdateType for string, or null if string is invalid