|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RestActivity.Field>
org.exoplatform.social.client.api.model.RestActivity.Field
public static enum RestActivity.Field
The fields that represent the activity object in json form.
| Enum Constant Summary | |
|---|---|
ACTIVITY_STREAM
the json field for activityStream |
|
APP_ID
the json field for appId. |
|
BODY
the json field for body. |
|
COMMENTS
the json field for Comments |
|
CREATED_AT
the json field for createdAt. |
|
ID
the json field for id. |
|
IDENTITY_ID
the json field for identityId. |
|
LIKED
the json field for liked. |
|
LIKED_BY_IDENTITIES
the json field for likedByIdentities |
|
POSTED_TIME
the json field for postedTime. |
|
POSTER_IDENTITY
the json field for posterIdentity. |
|
PRIORITY
the json field for priority. |
|
TEMPLATE_PARAMS
the json field for templateParams. |
|
TITLE
the json field for title. |
|
TITLE_ID
the json field for titleId. |
|
TOTAL_NUMBER_OF_COMMENTS
the json field for numberOfCommens |
|
TOTAL_NUMBER_OF_LIKES
the json field for numberOfLikes |
|
TYPE
the json field for type. |
|
| Method Summary | |
|---|---|
String |
toString()
emit the field as a json element. |
static RestActivity.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RestActivity.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 |
|---|
public static final RestActivity.Field ID
public static final RestActivity.Field TITLE
public static final RestActivity.Field BODY
public static final RestActivity.Field APP_ID
public static final RestActivity.Field TYPE
public static final RestActivity.Field POSTED_TIME
public static final RestActivity.Field POSTER_IDENTITY
public static final RestActivity.Field CREATED_AT
public static final RestActivity.Field PRIORITY
public static final RestActivity.Field TEMPLATE_PARAMS
public static final RestActivity.Field TITLE_ID
public static final RestActivity.Field IDENTITY_ID
public static final RestActivity.Field LIKED
public static final RestActivity.Field LIKED_BY_IDENTITIES
public static final RestActivity.Field COMMENTS
public static final RestActivity.Field TOTAL_NUMBER_OF_COMMENTS
public static final RestActivity.Field TOTAL_NUMBER_OF_LIKES
public static final RestActivity.Field ACTIVITY_STREAM
| Method Detail |
|---|
public static RestActivity.Field[] values()
for (RestActivity.Field c : RestActivity.Field.values()) System.out.println(c);
public static RestActivity.Field valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<RestActivity.Field>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||