|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.oscelot.webct.dao.UserRole
UserVO
class.
The UserRole class represents a Vista user role (SIND, SSTU, etc...).
Based on com.webct.platform.sdkext.authmoduledata.UserRole
Field Summary | |
static UserRole |
AUDITOR_ROLE
Deprecated. |
static UserRole |
COURSE_DESIGNER_ROLE
Deprecated. |
static UserRole |
COURSE_INSTRUCTOR_ROLE
Deprecated. |
static UserRole |
DESIGNER_INSTRUCTOR_ROLE
Deprecated. |
static UserRole |
DOMAIN_ADMIN_ROLE
Deprecated. |
static UserRole |
DOMAIN_DESIGNER_ROLE
Deprecated. |
static UserRole |
GROUP_ADMIN_ROLE
Deprecated. |
static UserRole |
GROUP_DESIGNER_ROLE
Deprecated. |
static UserRole |
INSTITUTIONAL_ADMIN_ROLE
Deprecated. |
static UserRole |
INSTITUTIONAL_DESIGNER_ROLE
Deprecated. |
static UserRole |
MENTOR_ROLE
Deprecated. |
static UserRole |
SECTION_DESIGNER_ROLE
Deprecated. |
static UserRole |
SECTION_INSTRUCTOR_ROLE
Deprecated. |
static UserRole |
SERVER_ADMIN_ROLE
Deprecated. |
static UserRole |
STUDENT_ROLE
Deprecated. |
static UserRole |
TA_ROLE
Deprecated. |
Constructor Summary | |
UserRole(java.lang.String name,
int value)
Deprecated. This class has been replaced with a set of string constants defined in the UserVO class
Public constructor to create a UserRole. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Deprecated. This class has been replaced with a set of string constants defined in the UserVO class; use the equals() method of the String
class instead
Returns the name of the user role. |
static UserRole |
forName(java.lang.String name)
Deprecated. This class has been replaced with a set of string constants defined in the UserVO class
This public method returns a UserRole object for a given role name. Supported user role names include:
|
int |
getValue()
Deprecated. This class has been replaced with a set of string constants defined in the UserVO class; the integer value of a user role served no apparent useful
purpose
Returns the integer value of the user role. |
int |
hashCode()
Deprecated. |
java.lang.String |
toString()
Deprecated. This class has been replaced with a set of string constants defined in the UserVO class making this method redundant as the role is already expressed
as a String
Returns the name of the user role. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final UserRole SERVER_ADMIN_ROLE
public static final UserRole DOMAIN_ADMIN_ROLE
public static final UserRole DOMAIN_DESIGNER_ROLE
public static final UserRole INSTITUTIONAL_ADMIN_ROLE
public static final UserRole INSTITUTIONAL_DESIGNER_ROLE
public static final UserRole GROUP_ADMIN_ROLE
public static final UserRole GROUP_DESIGNER_ROLE
public static final UserRole COURSE_DESIGNER_ROLE
public static final UserRole COURSE_INSTRUCTOR_ROLE
public static final UserRole SECTION_DESIGNER_ROLE
public static final UserRole SECTION_INSTRUCTOR_ROLE
public static final UserRole TA_ROLE
public static final UserRole STUDENT_ROLE
public static final UserRole AUDITOR_ROLE
public static final UserRole DESIGNER_INSTRUCTOR_ROLE
public static final UserRole MENTOR_ROLE
Constructor Detail |
public UserRole(java.lang.String name, int value)
UserVO
class
Public constructor to create a UserRole.
name
- user role namevalue
- user role valueMethod Detail |
public static UserRole forName(java.lang.String name)
UserVO
class
This public method returns a UserRole object for a given role name. Supported user role names include:
name
- user role name
public boolean equals(java.lang.Object obj)
UserVO
class; use the equals()
method of the String
class instead
Returns the name of the user role.
true
if obj represents the same rolepublic int hashCode()
public int getValue()
UserVO
class; the integer value of a user role served no apparent useful
purpose
Returns the integer value of the user role.
public java.lang.String toString()
UserVO
class making this method redundant as the role is already expressed
as a String
Returns the name of the user role.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |