Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community.moderation
Enum JiveObjectModerator.Type

java.lang.Object
  extended by java.lang.Enum<JiveObjectModerator.Type>
      extended by com.jivesoftware.community.moderation.JiveObjectModerator.Type
All Implemented Interfaces:
Serializable, Comparable<JiveObjectModerator.Type>
Enclosing interface:
JiveObjectModerator

public static enum JiveObjectModerator.Type
extends Enum<JiveObjectModerator.Type>


Enum Constant Summary
ABUSE
          Workflow type to represent items awaiting moderation as a result of an abuse report.
APPROVAL
          Workflow type to represent items waiting for approval.
MODERATION
          Workflow type to represent items awaiting moderation.
 
Method Summary
 int getIntValue()
          The int value that represents the type.
static JiveObjectModerator.Type valueOf(Integer value)
           
static JiveObjectModerator.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JiveObjectModerator.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

APPROVAL

public static final JiveObjectModerator.Type APPROVAL
Workflow type to represent items waiting for approval.


MODERATION

public static final JiveObjectModerator.Type MODERATION
Workflow type to represent items awaiting moderation.


ABUSE

public static final JiveObjectModerator.Type ABUSE
Workflow type to represent items awaiting moderation as a result of an abuse report.

Method Detail

values

public static final JiveObjectModerator.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(JiveObjectModerator.Type c : JiveObjectModerator.Type.values())
        System.out.println(c);

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

valueOf

public static JiveObjectModerator.Type 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

getIntValue

public int getIntValue()
The int value that represents the type.

Returns:
the int value for the type.

valueOf

public static JiveObjectModerator.Type valueOf(Integer value)

Clearspace Project Page

Copyright © 1999-2007 Jive Software.