org.exoplatform.forum.ext.activity
Enum ForumActivityType
java.lang.Object
java.lang.Enum<ForumActivityType>
org.exoplatform.forum.ext.activity.ForumActivityType
- All Implemented Interfaces:
- Serializable, Comparable<ForumActivityType>
public enum ForumActivityType
- extends Enum<ForumActivityType>
Created by The eXo Platform SAS Author : thanh_vucong
thanh_vucong@exoplatform.com Jan 9, 2013
|
Method Summary |
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)
|
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. |
ADD_TOPIC
public static final ForumActivityType ADD_TOPIC
UPDATE_TOPIC_TITLE
public static final ForumActivityType UPDATE_TOPIC_TITLE
UPDATE_TOPIC_CONTENT
public static final ForumActivityType UPDATE_TOPIC_CONTENT
UPDATE_TOPIC_RATE
public static final ForumActivityType UPDATE_TOPIC_RATE
CLOSE_TOPIC
public static final ForumActivityType CLOSE_TOPIC
OPEN_TOPIC
public static final ForumActivityType OPEN_TOPIC
LOCK_TOPIC
public static final ForumActivityType LOCK_TOPIC
UNLOCK_TOPIC
public static final ForumActivityType UNLOCK_TOPIC
APPROVED_TOPIC
public static final ForumActivityType APPROVED_TOPIC
UNAPPROVED_TOPIC
public static final ForumActivityType UNAPPROVED_TOPIC
MERGE_TOPICS
public static final ForumActivityType MERGE_TOPICS
SPLIT_TOPIC
public static final ForumActivityType SPLIT_TOPIC
MOVE_TOPIC
public static final ForumActivityType MOVE_TOPIC
ADD_POST
public static final ForumActivityType ADD_POST
UPDATE_POST
public static final ForumActivityType UPDATE_POST
values
public static ForumActivityType[] 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 (ForumActivityType c : ForumActivityType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ForumActivityType 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
getTitle
public String getTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity a,
String value)
getActivity
public org.exoplatform.social.core.activity.model.ExoSocialActivity getActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity a,
String... values)
getTitle
public String getTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity a,
String... values)
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.