blackboard.data.discussionboard
Class Message.MessageLifecycle
java.lang.Object
blackboard.base.BbEnum
blackboard.data.discussionboard.Message.MessageLifecycle
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Enclosing class:
- Message
public static final class Message.MessageLifecycle
- extends BbEnum
Enumeration for reflecting user forum role
A normal user will have a null value in the role
A blocked user will be a READER
A moderator will be a MODERATOR
We can add additional roles in this later
- See Also:
- Serialized Form
| Methods inherited from class blackboard.base.BbEnum |
compareTo, defineAlias, defineDefault, fromExternalString, fromFieldName, fromFieldName, getDefaultElement, getValues, isDefault, readResolve, toExternalString, toFieldName, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DRAFT
public static final Message.MessageLifecycle DRAFT
PUBLISHED
public static final Message.MessageLifecycle PUBLISHED
HIDDEN
public static final Message.MessageLifecycle HIDDEN
MODQUEUE
public static final Message.MessageLifecycle MODQUEUE
REJECTED
public static final Message.MessageLifecycle REJECTED
UNAVAILABLE
public static final Message.MessageLifecycle UNAVAILABLE
DEFAULT
public static final Message.MessageLifecycle DEFAULT
REJECTED_EXPLANATION
public static final Message.MessageLifecycle REJECTED_EXPLANATION
getValues
public static Message.MessageLifecycle[] getValues()
- Returns an array of all of the elements in this enumeration.
fromExternalString
public static Message.MessageLifecycle fromExternalString(java.lang.String externalString)
throws java.lang.IllegalArgumentException
- Returns the Message.MessageLifecycle element specified by the
externalString.
- Throws:
java.lang.IllegalArgumentException - if the given string is not an external
representation of one of the elements this enumeration class.
getName
public java.lang.String getName()
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
equals in class java.lang.Object
Copyright © 2003 Blackboard, Inc. All Rights Reserved.