|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use User | |
| blackboard.data.course | Provides the classes used to interact with course definitions in Blackboard. |
| blackboard.data.gradebook | Provides the public implementation classes for Gradebook subsystem. |
| blackboard.persist.user | |
| blackboard.platform.security | |
| Uses of User in blackboard.data.course |
| Methods in blackboard.data.course that return User | |
User |
CourseMembership.getUser()
Returns the User attribute associated with this
CourseMembership.
|
| Methods in blackboard.data.course with parameters of type User | |
void |
CourseMembership.setUser(User user)
Sets the User associated with this CourseMembership. |
| Uses of User in blackboard.data.gradebook |
| Methods in blackboard.data.gradebook that return User | |
User |
GradeRecord.getUser()
Deprecated. |
| Methods in blackboard.data.gradebook with parameters of type User | |
void |
GradeRecord.setUser(User user)
Deprecated. This method should not be used as the user information is set at load. |
| Uses of User in blackboard.persist.user |
| Methods in blackboard.persist.user that return User | |
User |
UserXmlLoader.load(org.w3c.dom.Element rootElement)
Generates a User object given an Element tree whose
structure and contents match those generated by UserXmlPerister. |
User |
UserXmlLoader.load(java.io.InputStream is)
Generates an User object given an InputStream which
contains XML whose structure and contents match those generated by
UserXmlPerister. |
User |
UserDbLoader.loadById(Id id)
Load the User with the given Id from the database in a lightweight fashion using a connection obtained through this object's database context. |
User |
UserDbLoader.loadById(Id id,
java.sql.Connection con)
Load the User with the given Id from the database in a lightweight fashion using the supplied connection. |
User |
UserDbLoader.loadById(Id id,
java.sql.Connection con,
boolean bHeavy)
Load the User with the given Id from the database in the specified fashion (lightweight or heavyweight) using the supplied connection. |
User |
UserDbLoader.loadByUserName(java.lang.String userName)
Load the User with the given username from the database in a lightweight fashion using a connection obtained through this object's database context. |
User |
UserDbLoader.loadByUserName(java.lang.String userName,
java.sql.Connection con)
Load the User with the given username from the database in a lightweight fashion using the supplied connection. |
User |
UserDbLoader.loadByUserName(java.lang.String userName,
java.sql.Connection con,
boolean bHeavy)
Load the User with the given username from the database in the specified fashion (lightweight or heavyweight) using the supplied connection. |
User |
UserDbLoader.loadByBatchUid(java.lang.String batchUid)
Load the User with the given batch uid value from the database in a light- weight fashion using a connection obtained through this object's database context. |
User |
UserDbLoader.loadByBatchUid(java.lang.String batchUid,
java.sql.Connection con)
Load the User with the given batch uid value from the database in a light- weight fashion using the supplied connection. |
User |
UserDbLoader.loadByBatchUid(java.lang.String batchUid,
java.sql.Connection con,
boolean bHeavy)
Load the User with the given batch uid from the database in the specified fashion (lightweight or heavyweight) using the supplied connection. |
User |
UserDbLoader.loadGuestUser()
Load the "guest" user using a connection obtained through this object's database context. |
| Methods in blackboard.persist.user with parameters of type User | |
org.w3c.dom.Element |
UserXmlPersister.persist(User obj,
org.w3c.dom.Document doc)
Generates an Element tree whose values and structure matches the
contents of the provided User object. |
| Uses of User in blackboard.platform.security |
| Methods in blackboard.platform.security with parameters of type User | |
static boolean |
SecurityUtil.userHasEntitlement(User user,
Course course,
Entitlement entitlement)
userHasEntitlement Explicit check for a single entitlement. |
static boolean |
SecurityUtil.userHasEntitlement(User user,
Course course,
CourseMembership courseMembership,
Entitlement entitlement)
userHasEntitlement Explicit check for a single entitlement. |
static boolean |
SecurityUtil.userHasAllEntitlements(User user,
Course course,
Entitlements entitlements)
userHasAllEntitlements Logical AND Use for fine-grained authorization -- a user may have be entitled access to a page, but not a given widget on the page Please note that this method should be used for most entitlements checks, since it does not require loading the User from the database. |
static boolean |
SecurityUtil.userHasAnyEntitlements(User user,
Course course,
CourseMembership courseMembership,
Entitlements entitlements)
userHasAnyEntitlements Logical OR Use for coarse-grained authorization; for example to check whether user may enter admin page --User may have be entitled access to some but not all widgets on the page --User id param; implicit Context object _not_ assumed |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||