|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object blackboard.base.BbEnum blackboard.data.user.User.InstRole
public static final class User.InstRole
An enumeration describing the institution roles used in the Portal.
Field Summary | |
---|---|
static User.InstRole |
ALUMNI
Deprecated. |
static User.InstRole |
DEFAULT
Deprecated. |
static User.InstRole |
FACULTY
Deprecated. |
static User.InstRole |
GUEST
Deprecated. |
static User.InstRole |
OBSERVER
Deprecated. |
static User.InstRole |
OTHER
Deprecated. |
static User.InstRole |
PROSPECTIVE_STUDENT
Deprecated. |
static User.InstRole |
ROLE_10
Deprecated. |
static User.InstRole |
ROLE_11
Deprecated. |
static User.InstRole |
ROLE_12
Deprecated. |
static User.InstRole |
ROLE_13
Deprecated. |
static User.InstRole |
ROLE_14
Deprecated. |
static User.InstRole |
ROLE_15
Deprecated. |
static User.InstRole |
ROLE_16
Deprecated. |
static User.InstRole |
ROLE_17
Deprecated. |
static User.InstRole |
ROLE_18
Deprecated. |
static User.InstRole |
ROLE_19
Deprecated. |
static User.InstRole |
ROLE_20
Deprecated. |
static User.InstRole |
ROLE_9
Deprecated. |
static User.InstRole |
STAFF
Deprecated. |
static User.InstRole |
STUDENT
Deprecated. |
Constructor Summary | |
---|---|
User.InstRole(java.lang.String enumFieldName,
java.lang.String displayName)
Deprecated. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Deprecated. The sole method of the Comparable interface. |
boolean |
equals(java.lang.Object obj)
Deprecated. |
static User.InstRole |
fromExternalString(java.lang.String externalString)
Deprecated. Returns the User.InstRole element specified by the externalString . |
static BbEnum |
fromExternalString(java.lang.String externalString,
java.lang.Class enumClass)
Deprecated. |
static BbEnum |
fromFieldName(java.lang.String fieldName,
java.lang.Class enumClass)
Deprecated. |
static BbEnum |
fromFieldName(java.lang.String fieldName,
java.lang.Class enumClass,
boolean returnDefault)
Deprecated. Returns the User.InstRole element specified by the fieldName . |
java.lang.String |
getDefaultDisplayName()
Deprecated. |
java.lang.String |
getDisplayName()
Deprecated. Returns a displayable representation of the given Institution Role |
static User.InstRole[] |
getValues()
Deprecated. Returns an array of all of the elements in this enumeration. |
int |
hashCode()
Deprecated. |
static User.InstRole |
mapToInstRole(Id portalRoleId)
Deprecated. |
static Id |
mapToPortalRoleId(User.InstRole role)
Deprecated. |
Methods inherited from class blackboard.base.BbEnum |
---|
defineAlias, defineDefault, getDefaultElement, getValues, isDefault, readResolve, toExternalString, toFieldName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final User.InstRole STUDENT
public static final User.InstRole FACULTY
public static final User.InstRole STAFF
public static final User.InstRole ALUMNI
public static final User.InstRole PROSPECTIVE_STUDENT
public static final User.InstRole GUEST
public static final User.InstRole OTHER
public static final User.InstRole OBSERVER
public static final User.InstRole ROLE_9
public static final User.InstRole ROLE_10
public static final User.InstRole ROLE_11
public static final User.InstRole ROLE_12
public static final User.InstRole ROLE_13
public static final User.InstRole ROLE_14
public static final User.InstRole ROLE_15
public static final User.InstRole ROLE_16
public static final User.InstRole ROLE_17
public static final User.InstRole ROLE_18
public static final User.InstRole ROLE_19
public static final User.InstRole ROLE_20
public static final User.InstRole DEFAULT
Constructor Detail |
---|
public User.InstRole(java.lang.String enumFieldName, java.lang.String displayName)
Method Detail |
---|
public java.lang.String getDefaultDisplayName()
public java.lang.String getDisplayName()
public static User.InstRole[] getValues()
public static BbEnum fromExternalString(java.lang.String externalString, java.lang.Class enumClass)
public static User.InstRole fromExternalString(java.lang.String externalString) throws java.lang.IllegalArgumentException
externalString
.
java.lang.IllegalArgumentException
- if the given string is not an external
representation of one of the elements this enumeration class.public static BbEnum fromFieldName(java.lang.String fieldName, java.lang.Class enumClass) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static BbEnum fromFieldName(java.lang.String fieldName, java.lang.Class enumClass, boolean returnDefault) throws java.lang.IllegalArgumentException
fieldName
.
java.lang.IllegalArgumentException
- if the given string is not an external
representation of one of the elements this enumeration class.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object obj)
BbEnum
Comparable
interface.
BbEnum elements are sorted by their external string representation in
alphabetical order.
compareTo
in interface java.lang.Comparable
compareTo
in class BbEnum
obj
- the object to be compared to.
public int hashCode()
hashCode
in class java.lang.Object
public static User.InstRole mapToInstRole(Id portalRoleId)
public static Id mapToPortalRoleId(User.InstRole role)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |