public class SectionAwareServiceHelperImpl extends Object implements SectionAwareServiceHelper
| Constructor and Description |
|---|
SectionAwareServiceHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
List |
findMatchingEnrollments(String siteid,
String searchString,
String optionalSectionUid,
String userUid) |
List |
getAvailableEnrollments(String siteid,
String userUid) |
List |
getAvailableSections(String siteid,
String userUid) |
List |
getGroupReleaseEnrollments(String siteid,
String userUid,
String publishedAssessmentId) |
protected SectionAwareness |
getSectionAwareness() |
List |
getSectionEnrollments(String siteid,
String sectionUid,
String userUid)
The section enrollment list will not be returned unless the user
has access to it.
|
List |
getSectionEnrollmentsTrusted(String sectionUid) |
boolean |
isSectionMemberInRoleStudent(String sectionId,
String studentId) |
boolean |
isUserAbleToEdit(String siteid,
String userUid) |
boolean |
isUserAbleToGrade(String siteid,
String userUid) |
boolean |
isUserAbleToGradeAll(String siteid,
String userUid) |
boolean |
isUserAbleToGradeSection(String sectionUid,
String userUid) |
boolean |
isUserGradable(String siteid,
String userUid) |
void |
setSectionAwareness(SectionAwareness sectionAwareness) |
void |
setSiteService(SiteService siteService) |
public boolean isUserAbleToGrade(String siteid, String userUid)
isUserAbleToGrade in interface SectionAwareServiceHelperpublic boolean isUserAbleToGradeAll(String siteid, String userUid)
isUserAbleToGradeAll in interface SectionAwareServiceHelperpublic boolean isUserAbleToGradeSection(String sectionUid, String userUid)
isUserAbleToGradeSection in interface SectionAwareServiceHelperpublic boolean isUserAbleToEdit(String siteid, String userUid)
isUserAbleToEdit in interface SectionAwareServiceHelperpublic boolean isUserGradable(String siteid, String userUid)
isUserGradable in interface SectionAwareServiceHelperpublic List getAvailableEnrollments(String siteid, String userUid)
getAvailableEnrollments in interface SectionAwareServiceHelperpublic List getGroupReleaseEnrollments(String siteid, String userUid, String publishedAssessmentId)
getGroupReleaseEnrollments in interface SectionAwareServiceHelperpublic void setSiteService(SiteService siteService)
public List getAvailableSections(String siteid, String userUid)
getAvailableSections in interface SectionAwareServiceHelperpublic List getSectionEnrollmentsTrusted(String sectionUid)
getSectionEnrollmentsTrusted in interface SectionAwareServiceHelperpublic List getSectionEnrollments(String siteid, String sectionUid, String userUid)
SectionAwareServiceHelpergetSectionEnrollments in interface SectionAwareServiceHelperpublic List findMatchingEnrollments(String siteid, String searchString, String optionalSectionUid, String userUid)
findMatchingEnrollments in interface SectionAwareServiceHelpersearchString - a substring search for student name or display UID; the exact rules are
up to the implementationoptionalSectionUid - null if the search should be made across all sectionspublic boolean isSectionMemberInRoleStudent(String sectionId, String studentId)
isSectionMemberInRoleStudent in interface SectionAwareServiceHelperprotected SectionAwareness getSectionAwareness()
public void setSectionAwareness(SectionAwareness sectionAwareness)
Copyright © 2005-2014 Sakai Project. All Rights Reserved.