blackboard.data.discussionboard
Class UserForumSettings.ForumRole
java.lang.Object
blackboard.base.BbEnum
blackboard.data.discussionboard.UserForumSettings.ForumRole
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Enclosing class:
- UserForumSettings
public static final class UserForumSettings.ForumRole
- 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 additioal 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MODERATOR
public static final UserForumSettings.ForumRole MODERATOR
- MODERATOR
READER
public static final UserForumSettings.ForumRole READER
MANAGER
public static final UserForumSettings.ForumRole MANAGER
GRADER
public static final UserForumSettings.ForumRole GRADER
PARTICIPANT
public static final UserForumSettings.ForumRole PARTICIPANT
BLOCKED
public static final UserForumSettings.ForumRole BLOCKED
DEFAULT
public static final UserForumSettings.ForumRole DEFAULT
getValues
public static UserForumSettings.ForumRole[] getValues()
- Returns an array of all of the elements in this enumeration.
fromExternalString
public static UserForumSettings.ForumRole fromExternalString(java.lang.String externalString)
throws java.lang.IllegalArgumentException
- Returns the UserForumSettings.ForumRole 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.
getLocalizedName
public java.lang.String getLocalizedName()
getName
public java.lang.String getName()
Copyright © 2003 Blackboard, Inc. All Rights Reserved.