Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community
Enum JiveContentObject.Status

java.lang.Object
  extended by java.lang.Enum<JiveContentObject.Status>
      extended by com.jivesoftware.community.JiveContentObject.Status
All Implemented Interfaces:
com.jivesoftware.community.cache.Cacheable, com.tangosol.io.ExternalizableLite, Serializable, Comparable<JiveContentObject.Status>
Enclosing interface:
JiveContentObject

public static enum JiveContentObject.Status
extends Enum<JiveContentObject.Status>
implements com.jivesoftware.community.cache.Cacheable, com.tangosol.io.ExternalizableLite


Enum Constant Summary
ABUSE_HIDDEN
           
ABUSE_VISIBLE
           
ARCHIVED
           
AWAITING_MODERATION
           
DELETED
           
DRAFT
           
EXPIRED
           
PENDING_APPROVAL
           
PUBLISHED
           
REJECTED
           
SCHEDULED
           
 
Method Summary
 int getCachedSize()
           
 String getName()
           
 int intValue()
           
 boolean isVisible()
           
 void readExternal(DataInput dataInput)
           
static JiveContentObject.Status staticReadExternal(DataInput in)
           
static JiveContentObject.Status valueOf(Integer value)
           
static JiveContentObject.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JiveContentObject.Status[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 void writeExternal(DataOutput out)
           
 
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

DRAFT

public static final JiveContentObject.Status DRAFT

PUBLISHED

public static final JiveContentObject.Status PUBLISHED

SCHEDULED

public static final JiveContentObject.Status SCHEDULED

AWAITING_MODERATION

public static final JiveContentObject.Status AWAITING_MODERATION

REJECTED

public static final JiveContentObject.Status REJECTED

ABUSE_HIDDEN

public static final JiveContentObject.Status ABUSE_HIDDEN

ABUSE_VISIBLE

public static final JiveContentObject.Status ABUSE_VISIBLE

ARCHIVED

public static final JiveContentObject.Status ARCHIVED

EXPIRED

public static final JiveContentObject.Status EXPIRED

PENDING_APPROVAL

public static final JiveContentObject.Status PENDING_APPROVAL

DELETED

public static final JiveContentObject.Status DELETED
Method Detail

values

public static final JiveContentObject.Status[] 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(JiveContentObject.Status c : JiveContentObject.Status.values())
        System.out.println(c);

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

valueOf

public static JiveContentObject.Status 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

isVisible

public boolean isVisible()

getName

public String getName()

intValue

public int intValue()

getCachedSize

public int getCachedSize()
Specified by:
getCachedSize in interface com.jivesoftware.community.cache.Cacheable

staticReadExternal

public static JiveContentObject.Status staticReadExternal(DataInput in)
                                                   throws IOException
Throws:
IOException

readExternal

public void readExternal(DataInput dataInput)
                  throws IOException
Specified by:
readExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException
Specified by:
writeExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

valueOf

public static JiveContentObject.Status valueOf(Integer value)

Clearspace Project Page

Copyright © 1999-2007 Jive Software.