| java.lang.Object org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider
CourseManagementGroupProvider | public class CourseManagementGroupProvider implements GroupProvider(Code) | | A Sakai GroupProvider that utilizes the CourseManagementService and the
CmMappingService to supply authz data to Sakai. This implementation uses
a list of RoleResolvers, which can be used to resolve a user's role in a section
based on memberships in parent objects such as CourseSets.
author: Josh Holtzman |
rolePreferences | List<String> rolePreferences(Code) | | The ordered list of role preferences. Roles earlier in the list are preferred to those later in the list.
|
roleResolvers | List<RoleResolver> roleResolvers(Code) | | The role resolvers to use when looking for CM roles in the hierarchy
|
destroy | public void destroy()(Code) | | |
getGroupRolesForUser | public Map getGroupRolesForUser(String userEid)(Code) | | Provides a map of AuthzGroup ids to Sakai roles for a given user. Enrollment
is overridden by a membership role.
|
getRole | public String getRole(String id, String user)(Code) | | This method is not longer in use in Sakai. It should be removed from the
GroupProvider interface.
|
getUserRolesForGroup | public Map getUserRolesForGroup(String id)(Code) | | Provides a Map of a user ids to (Sakai) roles for a given AuthzGroup. Since a
user may be both enrolled in a mapped EnrollmentSet and have a Membership
role in a mapped Section, the following order of precedence is applied:
Official Instructor, Enrollment, membership
|
setRolePreferences | public void setRolePreferences(List<String> rolePreferences)(Code) | | |
|
|