com.jivesoftware.community
Enum JiveContentObject.Status
java.lang.Object
java.lang.Enum<JiveContentObject.Status>
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
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
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)
Copyright © 1999-2007 Jive Software.