public class GradebookPermissionServiceImpl extends BaseHibernateManager implements org.sakaiproject.service.gradebook.shared.GradebookPermissionService
authn, eventTrackingService, externalAssessmentService, MAX_NUMBER_OF_SQL_PARAMETERS_IN_LIST, propertiesMap, serverConfigurationService| Constructor and Description |
|---|
GradebookPermissionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Map |
getAvailableItemsForStudent(Long gradebookId,
String userId,
String studentId,
Collection courseSections) |
Map |
getAvailableItemsForStudent(String gradebookUid,
String userId,
String studentId,
Collection courseSections) |
Map |
getAvailableItemsForStudents(Long gradebookId,
String userId,
List studentIds,
Collection courseSections) |
Map |
getAvailableItemsForStudents(String gradebookUid,
String userId,
List studentIds,
Collection courseSections) |
List<Long> |
getCategoriesForUser(Long gradebookId,
String userId,
List<Long> categoryIdList,
int cateType) |
List<Long> |
getCategoriesForUserForStudentView(Long gradebookId,
String userId,
String studentId,
List<Long> categoriesIds,
int cateType,
List<String> sectionIds) |
Map |
getCourseGradePermission(Long gradebookId,
String userId,
List studentIds,
List courseSections) |
Map |
getCourseGradePermission(String gradebookUid,
String userId,
List studentIds,
List courseSections) |
List |
getGraderPermissionsForUser(Long gradebookId,
String userId) |
List |
getGraderPermissionsForUser(String gradebookUid,
String userId) |
boolean |
getPermissionForUserForAllAssignment(Long gradebookId,
String userId) |
boolean |
getPermissionForUserForAllAssignmentForStudent(Long gradebookId,
String userId,
String studentId,
List sectionIds) |
org.sakaiproject.section.api.SectionAwareness |
getSectionAwareness() |
Map<String,String> |
getStudentsForItem(Long gradebookId,
String userId,
List<String> studentIds,
int cateType,
Long categoryId,
List courseSections) |
Map<String,String> |
getStudentsForItem(String gradebookUid,
String userId,
List<String> studentIds,
int cateType,
Long categoryId,
List courseSections) |
List<String> |
getViewableGroupsForUser(Long gradebookId,
String userId,
List<String> groupIds) |
List |
getViewableGroupsForUser(String gradebookUid,
String userId,
List groupIds) |
List |
getViewableStudentsForUser(Long gradebookId,
String userId,
List studentIds,
List sections) |
List |
getViewableStudentsForUser(String gradebookUid,
String userId,
List studentIds,
List sections) |
void |
setSectionAwareness(org.sakaiproject.section.api.SectionAwareness sectionAwareness) |
addPermission, calculateEquivalentPercent, calculateEquivalentPointValueForPercent, convertPointsToLetterGrade, convertPointsToPercentage, createAssignment, createAssignmentForCategory, createCategory, createDefaultLetterGradePercentMapping, createOrUpdateDefaultLetterGradePercentMapping, createUngradedAssignment, createUngradedAssignmentForCategory, deletePermission, filterGradeRecordsByStudents, finalizeNullGradeRecords, getAllStudentUids, getAssignment, getAssignmentGradeRecord, getAssignments, getAssignmentScoreComment, getAssignmentScoreComment, getAssignmentsForCategory, getAssignmentWithoutStats, getAssignmentWithoutStats, getAuthn, getCategories, getCategoriesWithAssignments, getCategory, getComments, getCountedStudentGradeRecords, getCourseGrade, getCourseGradeRecord, getDefaultLetterGradePercentMapping, getEventTrackingService, getGradebook, getGradebookExternalAssessmentService, getGradebookUid, getLetterGradePercentMapping, getPermissionsForGB, getPermissionsForGBForCategoryIds, getPermissionsForUser, getPermissionsForUserAnyCategory, getPermissionsForUserAnyGroup, getPermissionsForUserAnyGroupAnyCategory, getPermissionsForUserAnyGroupForCategory, getPermissionsForUserForCategory, getPermissionsForUserForGoupsAnyCategory, getPermissionsForUserForGroup, getPropertiesMap, getPropertyValue, getServerConfigurationService, getUserUid, getVisibleExternalAssignments, isAssignmentDefined, isExplicitlyEnteredCourseGradeRecords, isGradebookDefined, postEvent, removeCategory, saveOrUpdateLetterGradePercentMapping, setAssignmentScoreComment, setAuthn, setEventTrackingService, setGradebookExternalAssessmentService, setPropertyValue, setServerConfigurationService, studentCanView, updateAssignment, updateCategory, updateCategory, updateGradebook, updatePermission, updatePermission, validateLetterGradeMappingpublic List<Long> getCategoriesForUser(Long gradebookId, String userId, List<Long> categoryIdList, int cateType) throws IllegalArgumentException
getCategoriesForUser in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic List<Long> getCategoriesForUserForStudentView(Long gradebookId, String userId, String studentId, List<Long> categoriesIds, int cateType, List<String> sectionIds) throws IllegalArgumentException
getCategoriesForUserForStudentView in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic boolean getPermissionForUserForAllAssignment(Long gradebookId, String userId) throws IllegalArgumentException
getPermissionForUserForAllAssignment in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic boolean getPermissionForUserForAllAssignmentForStudent(Long gradebookId, String userId, String studentId, List sectionIds) throws IllegalArgumentException
getPermissionForUserForAllAssignmentForStudent in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic Map<String,String> getStudentsForItem(Long gradebookId, String userId, List<String> studentIds, int cateType, Long categoryId, List courseSections) throws IllegalArgumentException
getStudentsForItem in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic Map<String,String> getStudentsForItem(String gradebookUid, String userId, List<String> studentIds, int cateType, Long categoryId, List courseSections) throws IllegalArgumentException
getStudentsForItem in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic List<String> getViewableGroupsForUser(Long gradebookId, String userId, List<String> groupIds)
getViewableGroupsForUser in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServicepublic List getViewableGroupsForUser(String gradebookUid, String userId, List groupIds)
getViewableGroupsForUser in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServicepublic List getGraderPermissionsForUser(Long gradebookId, String userId)
getGraderPermissionsForUser in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServicepublic List getGraderPermissionsForUser(String gradebookUid, String userId)
getGraderPermissionsForUser in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServicepublic Map getAvailableItemsForStudent(Long gradebookId, String userId, String studentId, Collection courseSections) throws IllegalArgumentException
getAvailableItemsForStudent in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic Map getAvailableItemsForStudent(String gradebookUid, String userId, String studentId, Collection courseSections) throws IllegalArgumentException
getAvailableItemsForStudent in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic Map getAvailableItemsForStudents(Long gradebookId, String userId, List studentIds, Collection courseSections) throws IllegalArgumentException
getAvailableItemsForStudents in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic Map getAvailableItemsForStudents(String gradebookUid, String userId, List studentIds, Collection courseSections) throws IllegalArgumentException
getAvailableItemsForStudents in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic Map getCourseGradePermission(Long gradebookId, String userId, List studentIds, List courseSections) throws IllegalArgumentException
getCourseGradePermission in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic Map getCourseGradePermission(String gradebookUid, String userId, List studentIds, List courseSections) throws IllegalArgumentException
getCourseGradePermission in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServiceIllegalArgumentExceptionpublic List getViewableStudentsForUser(Long gradebookId, String userId, List studentIds, List sections)
getViewableStudentsForUser in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServicepublic List getViewableStudentsForUser(String gradebookUid, String userId, List studentIds, List sections)
getViewableStudentsForUser in interface org.sakaiproject.service.gradebook.shared.GradebookPermissionServicepublic org.sakaiproject.section.api.SectionAwareness getSectionAwareness()
getSectionAwareness in class BaseHibernateManagerpublic void setSectionAwareness(org.sakaiproject.section.api.SectionAwareness sectionAwareness)
setSectionAwareness in class BaseHibernateManagerCopyright © 2003-2016 Sakai Project. All Rights Reserved.