public class CourseSetRoleResolver extends BaseRoleResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
COURSE_SET_ROLE_TO_SITE_ROLE |
configuration, roleMap| Constructor and Description |
|---|
CourseSetRoleResolver() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getGroupRoles(CourseManagementService cmService,
String userEid)
Gets a single user's roles in all sections with which s/he is associated.
|
Map<String,String> |
getUserRoles(CourseManagementService cmService,
Section section)
Gets users roles in a CM object.
|
void |
init()
Internal configuration.
|
convertRole, setConfiguration, setRoleMappublic static final String COURSE_SET_ROLE_TO_SITE_ROLE
public void init()
public Map<String,String> getUserRoles(CourseManagementService cmService, Section section)
cmService - The CM service impl. We pass this in rather than injecting
it into every RoleResolversection - The section from which to start searching "up" the hierarchy,
if necessarypublic Map<String,String> getGroupRoles(CourseManagementService cmService, String userEid)
cmService - The CM service impl. We pass this in rather than injecting
it into every RoleResolveruserEid - The user's enterprise IDCopyright © 2006–2019 Sakai Project. All rights reserved.