public enum ForumActivityType extends Enum<ForumActivityType>
| Enum Constant and Description |
|---|
ADD_POST |
ADD_TOPIC |
APPROVED_TOPIC |
CLOSE_TOPIC |
LOCK_TOPIC |
MERGE_TOPICS |
MOVE_TOPIC |
OPEN_TOPIC |
SPLIT_TOPIC |
UNAPPROVED_TOPIC |
UNLOCK_TOPIC |
UPDATE_POST |
UPDATE_TOPIC_CONTENT |
UPDATE_TOPIC_RATE |
UPDATE_TOPIC_TITLE |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.social.core.activity.model.ExoSocialActivity |
getActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity a,
String... values) |
String |
getTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity a,
String... values) |
String |
getTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity a,
String value) |
String |
getTitleTemplate() |
static ForumActivityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForumActivityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForumActivityType ADD_TOPIC
public static final ForumActivityType UPDATE_TOPIC_TITLE
public static final ForumActivityType UPDATE_TOPIC_CONTENT
public static final ForumActivityType UPDATE_TOPIC_RATE
public static final ForumActivityType CLOSE_TOPIC
public static final ForumActivityType OPEN_TOPIC
public static final ForumActivityType LOCK_TOPIC
public static final ForumActivityType UNLOCK_TOPIC
public static final ForumActivityType APPROVED_TOPIC
public static final ForumActivityType UNAPPROVED_TOPIC
public static final ForumActivityType MERGE_TOPICS
public static final ForumActivityType SPLIT_TOPIC
public static final ForumActivityType MOVE_TOPIC
public static final ForumActivityType ADD_POST
public static final ForumActivityType UPDATE_POST
public static ForumActivityType[] values()
for (ForumActivityType c : ForumActivityType.values()) System.out.println(c);
public static ForumActivityType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity a, String value)
public org.exoplatform.social.core.activity.model.ExoSocialActivity getActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity a,
String... values)
public String getTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity a, String... values)
public String getTitleTemplate()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.