| org.sakaiproject.tool.assessment.shared.api.grading.GradingSectionAwareServiceAPI
All known Subclasses: org.sakaiproject.tool.assessment.shared.impl.grading.GradingSectionAwareServiceImpl,
GradingSectionAwareServiceAPI | public interface GradingSectionAwareServiceAPI (Code) | | The GradingServiceAPI implements the shared interface to get grading information.
author: Ed Smiley |
Method Summary | |
public List | findMatchingEnrollments(String siteId, String searchString, String optionalSectionUid, String userUid) | public List | getAvailableEnrollments(String siteId, String userUid) | public List | getAvailableSections(String siteId, String userUid) | public List | getSectionEnrollments(String siteId, String sectionUid, String userUid) The section enrollment list will not be returned unless the user
has access to it. | public boolean | isSectionMemberInRoleStudent(String sectionId, String studentId) | public boolean | isUserAbleToEdit(String siteId, String userUid) | public boolean | isUserAbleToGrade(String siteId, String userUid) | public boolean | isUserAbleToGradeAll(String siteId, String userUid) | public boolean | isUserAbleToGradeSection(String siteId, String userUid) | public boolean | isUserGradable(String siteId, String userUid) |
findMatchingEnrollments | public List findMatchingEnrollments(String siteId, String searchString, String optionalSectionUid, String userUid)(Code) | | Parameters: searchString - a substring search for student name or display UID; the exact rules areup to the implementation Parameters: optionalSectionUid - null if the search should be made across all sectionsan EnrollmentRecord list for all matching available students. |
getAvailableEnrollments | public List getAvailableEnrollments(String siteId, String userUid)(Code) | | an EnrollmentRecord list for each student that the current useris allowed to grade. |
getAvailableSections | public List getAvailableSections(String siteId, String userUid)(Code) | | a CourseSection list for each group that the current userbelongs to. |
getSectionEnrollments | public List getSectionEnrollments(String siteId, String sectionUid, String userUid)(Code) | | The section enrollment list will not be returned unless the user
has access to it.
an EnrollmentRecord list for all the students in the given group. |
isSectionMemberInRoleStudent | public boolean isSectionMemberInRoleStudent(String sectionId, String studentId)(Code) | | Parameters: sectionId - Parameters: studentId - whether a student belongs to a section |
isUserAbleToGradeAll | public boolean isUserAbleToGradeAll(String siteId, String userUid)(Code) | | |
isUserAbleToGradeSection | public boolean isUserAbleToGradeSection(String siteId, String userUid)(Code) | | |
|
|