org.exoplatform.social.service.rest.api.models
Enum ActivityRestOut.Field

java.lang.Object
  extended by java.lang.Enum<ActivityRestOut.Field>
      extended by org.exoplatform.social.service.rest.api.models.ActivityRestOut.Field
All Implemented Interfaces:
Serializable, Comparable<ActivityRestOut.Field>
Enclosing class:
ActivityRestOut

public static enum ActivityRestOut.Field
extends Enum<ActivityRestOut.Field>


Enum Constant Summary
ACTIVITY_STREAM
          The Activity stream details.
APPID
          The application id.
BODY
          Activity Body message
COMMENTS
          The comments wrapper.
CREATED_AT
          The date (human format).
ID
          The id.
IDENTITY_ID
          The owner identity id.
LIKED
          Is liked or not by the authenticated user who makes the request
LIKED_BY_IDENTITIES
          The identities who like.
POSTED_TIME
          The posted timestamp.
POSTER_IDENTITY
          The poster identity id.
PRIORITY
          The priority from 0 to 1.
TEMPLATE_PARAMS
          The template parameters.
TITLE
          The title.
TITLE_ID
          The title id.
TOTAL_NUMBER_OF_COMMENTS
          The number of comment.
TOTAL_NUMBER_OF_LIKES
          The total number of user like this activity
TYPE
          The activity type.
 
Method Summary
 String toString()
           
static ActivityRestOut.Field valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ActivityRestOut.Field[] 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

ID

public static final ActivityRestOut.Field ID
The id.


TITLE

public static final ActivityRestOut.Field TITLE
The title.


BODY

public static final ActivityRestOut.Field BODY
Activity Body message


PRIORITY

public static final ActivityRestOut.Field PRIORITY
The priority from 0 to 1. 1 is the higher priority.


APPID

public static final ActivityRestOut.Field APPID
The application id.


TYPE

public static final ActivityRestOut.Field TYPE
The activity type.


POSTED_TIME

public static final ActivityRestOut.Field POSTED_TIME
The posted timestamp.


CREATED_AT

public static final ActivityRestOut.Field CREATED_AT
The date (human format).


TITLE_ID

public static final ActivityRestOut.Field TITLE_ID
The title id.


TEMPLATE_PARAMS

public static final ActivityRestOut.Field TEMPLATE_PARAMS
The template parameters.


LIKED

public static final ActivityRestOut.Field LIKED
Is liked or not by the authenticated user who makes the request


LIKED_BY_IDENTITIES

public static final ActivityRestOut.Field LIKED_BY_IDENTITIES
The identities who like.


COMMENTS

public static final ActivityRestOut.Field COMMENTS
The comments wrapper.


TOTAL_NUMBER_OF_COMMENTS

public static final ActivityRestOut.Field TOTAL_NUMBER_OF_COMMENTS
The number of comment.


POSTER_IDENTITY

public static final ActivityRestOut.Field POSTER_IDENTITY
The poster identity id.


IDENTITY_ID

public static final ActivityRestOut.Field IDENTITY_ID
The owner identity id.


ACTIVITY_STREAM

public static final ActivityRestOut.Field ACTIVITY_STREAM
The Activity stream details.


TOTAL_NUMBER_OF_LIKES

public static final ActivityRestOut.Field TOTAL_NUMBER_OF_LIKES
The total number of user like this activity

Method Detail

values

public static ActivityRestOut.Field[] 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 (ActivityRestOut.Field c : ActivityRestOut.Field.values())
    System.out.println(c);

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

valueOf

public static ActivityRestOut.Field 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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<ActivityRestOut.Field>


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.