Enum SocialInformationType
- java.lang.Object
-
- java.lang.Enum<SocialInformationType>
-
- org.silverpeas.core.socialnetwork.model.SocialInformationType
-
- All Implemented Interfaces:
Serializable
,Comparable<SocialInformationType>
public enum SocialInformationType extends Enum<SocialInformationType>
The declaration order is taken into account for feed news sorting
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
BOOKMARK
COMMENT
COMMENTMEDIA
COMMENTNEWS
COMMENTPOST
COMMENTPUBLICATION
EVENT
LASTEVENT
MEDIA
NEWS
POST
PUBLICATION
RELATIONSHIP
SITE
STATUS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SocialInformationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SocialInformationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final SocialInformationType ALL
-
EVENT
public static final SocialInformationType EVENT
-
PUBLICATION
public static final SocialInformationType PUBLICATION
-
COMMENTPUBLICATION
public static final SocialInformationType COMMENTPUBLICATION
-
MEDIA
public static final SocialInformationType MEDIA
-
COMMENTMEDIA
public static final SocialInformationType COMMENTMEDIA
-
STATUS
public static final SocialInformationType STATUS
-
RELATIONSHIP
public static final SocialInformationType RELATIONSHIP
-
LASTEVENT
public static final SocialInformationType LASTEVENT
-
POST
public static final SocialInformationType POST
-
COMMENTPOST
public static final SocialInformationType COMMENTPOST
-
NEWS
public static final SocialInformationType NEWS
-
COMMENTNEWS
public static final SocialInformationType COMMENTNEWS
-
BOOKMARK
public static final SocialInformationType BOOKMARK
-
SITE
public static final SocialInformationType SITE
-
COMMENT
public static final SocialInformationType COMMENT
-
-
Method Detail
-
values
public static SocialInformationType[] 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 (SocialInformationType c : SocialInformationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SocialInformationType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-