public interface Authz
| Modifier and Type | Method and Description |
|---|---|
Map |
findMatchingEnrollmentsForItem(String gradebookUid,
Long categoryId,
int gbCategoryType,
String optionalSearchString,
String optionalSectionUid) |
Map |
findMatchingEnrollmentsForItemForUser(String userUid,
String gradebookUid,
Long categoryId,
int gbCategoryType,
String optionalSearchString,
String optionalSectionUid) |
Map |
findMatchingEnrollmentsForViewableCourseGrade(String gradebookUid,
int gbCategoryType,
String optionalSearchString,
String optionalSectionUid) |
Map |
findMatchingEnrollmentsForViewableItems(String gradebookUid,
List allGbItems,
String optionalSearchString,
String optionalSectionUid) |
List |
findStudentSectionMemberships(String gradebookUid,
String studentUid) |
List |
getAllSections(String gradebookUid) |
String |
getGradeViewFunctionForUserForStudentForItem(String gradebookUid,
Long itemId,
String studentUid)
Check to see if current user may grade or view the given student for the given item in the given gradebook.
|
List |
getStudentSectionMembershipNames(String gradebookUid,
String studentUid) |
List |
getViewableSections(String gradebookUid) |
boolean |
isUserAbleToEditAssessments(String gradebookUid) |
boolean |
isUserAbleToGrade(String gradebookUid) |
boolean |
isUserAbleToGrade(String gradebookUid,
String userUid) |
boolean |
isUserAbleToGradeAll(String gradebookUid) |
boolean |
isUserAbleToGradeAll(String gradebookUid,
String userUid) |
boolean |
isUserAbleToGradeItemForStudent(String gradebookUid,
Long itemId,
String studentUid) |
boolean |
isUserAbleToViewItemForStudent(String gradebookUid,
Long itemId,
String studentUid) |
boolean |
isUserAbleToViewOwnGrades(String gradebookUid) |
boolean |
isUserHasGraderPermissions(Long gradebookId) |
boolean |
isUserHasGraderPermissions(Long gradebookId,
String userUid) |
boolean |
isUserHasGraderPermissions(String gradebookUid) |
boolean |
isUserHasGraderPermissions(String gradebookUid,
String userUid) |
boolean isUserAbleToGrade(String gradebookUid)
boolean isUserAbleToGradeAll(String gradebookUid)
boolean isUserAbleToEditAssessments(String gradebookUid)
boolean isUserAbleToViewOwnGrades(String gradebookUid)
boolean isUserHasGraderPermissions(String gradebookUid)
boolean isUserHasGraderPermissions(Long gradebookId)
boolean isUserAbleToGradeItemForStudent(String gradebookUid, Long itemId, String studentUid) throws IllegalArgumentException
gradebookUid - itemId - studentUid - IllegalArgumentExceptionboolean isUserAbleToViewItemForStudent(String gradebookUid, Long itemId, String studentUid) throws IllegalArgumentException
gradebookUid - itemId - studentUid - IllegalArgumentExceptionList getAllSections(String gradebookUid)
gradebookUid - List getViewableSections(String gradebookUid)
gradebookUid - Map findMatchingEnrollmentsForItemForUser(String userUid, String gradebookUid, Long categoryId, int gbCategoryType, String optionalSearchString, String optionalSectionUid)
gradebookUid - userUid - categoryId - The category id that the desired item is associated withgbCategoryType - The category type setting for this gradebookoptionalSearchString - a substring search for student name or display UID; the exact rules are
up to the implementation - leave null to use all studentsoptionalSectionUid - null if the search should be made across all sectionsMap findMatchingEnrollmentsForItem(String gradebookUid, Long categoryId, int gbCategoryType, String optionalSearchString, String optionalSectionUid)
gradebookUid - categoryId - The category id that the desired item is associated withgbCategoryType - The category type setting for this gradebookoptionalSearchString - a substring search for student name or display UID; the exact rules are
up to the implementation - leave null to use all studentsoptionalSectionUid - null if the search should be made across all sectionsMap findMatchingEnrollmentsForViewableCourseGrade(String gradebookUid, int gbCategoryType, String optionalSearchString, String optionalSectionUid)
gradebookUid - gbCategoryType - The category type setting for this gradebookoptionalSearchString - optionalSectionUid - Map findMatchingEnrollmentsForViewableItems(String gradebookUid, List allGbItems, String optionalSearchString, String optionalSectionUid)
gradebookUid - allGbItems - List of all Assignments associated with this gradebookoptionalSearchString - a substring search for student name or display UID; the exact rules are
up to the implementation - leave null to use all studentsoptionalSectionUid - null if the search should be made across all sectionsList findStudentSectionMemberships(String gradebookUid, String studentUid)
gradebookUid - studentUid - List getStudentSectionMembershipNames(String gradebookUid, String studentUid)
gradebookUid - studentUid - String getGradeViewFunctionForUserForStudentForItem(String gradebookUid, Long itemId, String studentUid)
gradebookUid - itemId - studentUid - Copyright © 2003-2015 Sakai Project. All Rights Reserved.