public class SectionAwareServiceHelperImpl extends Object implements SectionAwareServiceHelper
| Constructor and Description |
|---|
SectionAwareServiceHelperImpl() |
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–2017 Sakai Project. All rights reserved.