|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.cms.filesystem.security.CSPrincipal
blackboard.cms.filesystem.security.CourseRolePrincipal
public class CourseRolePrincipal
The CourseRolePrincipal class provides a representation of
a Principal, an entity to which filesystem access permissions may be granted
, in terms of its associated relationship to a
CourseMembership.Role and a Course within the
Blackboard Content System.
| Method Summary | |
|---|---|
static java.lang.String |
calculatePrincipalID(Course course,
CourseMembership.Role role)
Returns a string that represents the Principal ID. |
static CourseRolePrincipal |
createInstance(Course course,
CourseMembership.Role role)
Creates an instance of CourseRolePrincipal from
Course and CourseMembership.Role attributes. |
Course |
getCourse()
Returns the Course associated with the Principal. |
CourseMembership.Role |
getRole()
Returns the CourseMembership.Role associated with the Principal. |
| Methods inherited from class blackboard.cms.filesystem.security.CSPrincipal |
|---|
getDisplayName, getPrincipalID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Course getCourse()
Course associated with the Principal.
Course representing the associated Course.public CourseMembership.Role getRole()
CourseMembership.Role associated with the Principal.
CourseMembership.Role representing the associated CourseMembership.Role.
public static CourseRolePrincipal createInstance(Course course,
CourseMembership.Role role)
CourseRolePrincipal from
Course and CourseMembership.Role attributes.
course - a Courserole - a CourseMembership.Role
CourseRolePrincipal
public static java.lang.String calculatePrincipalID(Course course,
CourseMembership.Role role)
course - a Courserole - a CourseMembership.Role
String that represents the PrincipalID for the Course and CourseMembership.Role
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||