org.exoplatform.forum.ext.activity
Enum ForumActivityType

java.lang.Object
  extended by java.lang.Enum<ForumActivityType>
      extended by 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


Enum Constant Summary
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
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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–2014 eXo Platform SAS. All rights reserved.