| org.sakaiproject.tool.assessment.integration.helper.ifc.SectionAwareServiceHelper
All known Subclasses: org.sakaiproject.tool.assessment.integration.helper.standalone.SectionAwareServiceHelperImpl, org.sakaiproject.tool.assessment.integration.helper.integrated.SectionAwareServiceHelperImpl,
SectionAwareServiceHelper | public interface SectionAwareServiceHelper (Code) | | Facade to external role and authorization service.
based Ray's gradebook code
|
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 sectionUid, 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 - Parameters: Role - whether a member belongs to a section under a certain role |
isUserAbleToGradeAll | public boolean isUserAbleToGradeAll(String siteid, String userUid)(Code) | | |
isUserAbleToGradeSection | public boolean isUserAbleToGradeSection(String sectionUid, String userUid)(Code) | | |
|
|