All Methods Instance Methods Concrete Methods Deprecated Methods
| Modifier and Type |
Method and Description |
Long |
addPermission(Long gradebookId,
String userId,
String function,
Long categoryId,
String groupId) |
protected boolean |
assignmentNameExists(String name,
Gradebook gradebook) |
protected Double |
calculateEquivalentPercent(Double doublePointsPossible,
Double doublePointsEarned) |
protected Double |
calculateEquivalentPointValueForPercent(Double doublePointsPossible,
Double doublePercentEarned) |
protected List |
convertPointsToLetterGrade(Gradebook gradebook,
List studentRecordsFromDB)
Converts points to letter grade for the given AssignmentGradeRecords
|
protected List |
convertPointsToPercentage(Gradebook gradebook,
List studentRecordsFromDB)
Converts points to percentage for the given AssignmentGradeRecords
|
Long |
createAssignment(Long gradebookId,
String name,
Double points,
Date dueDate,
Boolean isNotCounted,
Boolean isReleased,
Boolean isExtraCredit,
Integer sortOrder) |
Long |
createAssignmentForCategory(Long gradebookId,
Long categoryId,
String name,
Double points,
Date dueDate,
Boolean isNotCounted,
Boolean isReleased,
Boolean isExtraCredit,
Integer categorizedSortOrder) |
Long |
createCategory(Long gradebookId,
String name,
Double weight,
Integer drop_lowest,
Integer dropHighest,
Integer keepHighest,
Boolean is_extra_credit,
Boolean is_equal_weight) |
Long |
createCategory(Long gradebookId,
String name,
Double weight,
Integer drop_lowest,
Integer dropHighest,
Integer keepHighest,
Boolean is_extra_credit,
Boolean is_equal_weight,
Integer categoryOrder) |
void |
createDefaultLetterGradePercentMapping(Map<String,Double> gradeMap) |
void |
createOrUpdateDefaultLetterGradePercentMapping(Map gradeMap) |
Long |
createUngradedAssignment(Long gradebookId,
String name,
Date dueDate,
Boolean isNotCounted,
Boolean isReleased) |
Long |
createUngradedAssignmentForCategory(Long gradebookId,
Long categoryId,
String name,
Date dueDate,
Boolean isNotCounted,
Boolean isReleased) |
void |
deletePermission(Permission perm)
Deprecated.
|
protected List |
filterGradeRecordsByStudents(Collection gradeRecords,
Collection studentUids)
Oracle has a low limit on the maximum length of a parameter list
in SQL queries of the form "WHERE tbl.col IN (:paramList)".
|
protected void |
finalizeNullGradeRecords(Gradebook gradebook) |
protected Set<String> |
getAllStudentUids(String gradebookUid) |
GradebookAssignment |
getAssignment(Long gradableObjectId) |
protected AssignmentGradeRecord |
getAssignmentGradeRecord(GradebookAssignment assignment,
String studentUid) |
protected List<GradebookAssignment> |
getAssignments(Long gradebookId) |
CommentDefinition |
getAssignmentScoreComment(String gradebookUid,
Long assignmentId,
String studentUid) |
List<GradebookAssignment> |
getAssignmentsForCategory(Long categoryId) |
protected GradebookAssignment |
getAssignmentWithoutStats(String gradebookUid,
Long assignmentId) |
protected GradebookAssignment |
getAssignmentWithoutStats(String gradebookUid,
String assignmentName)
Deprecated.
|
Authn |
getAuthn() |
List |
getCategories(Long gradebookId) |
List |
getCategoriesWithAssignments(Long gradebookId) |
Category |
getCategory(Long categoryId) |
List<Comment> |
getComments(GradebookAssignment assignment,
Collection studentIds) |
protected List |
getCountedStudentGradeRecords(Long gradebookId,
String studentId) |
CourseGrade |
getCourseGrade(Long gradebookId) |
protected List<CourseGradeRecord> |
getCourseGradeOverrides(Gradebook gradebook)
Get's all course grade overrides for a given gradebook
|
protected CourseGradeRecord |
getCourseGradeRecord(Gradebook gradebook,
String studentId)
Gets the course grade record for a student, or null if it does not yet exist.
|
LetterGradePercentMapping |
getDefaultLetterGradePercentMapping() |
protected EventTrackingService |
getEventTrackingService() |
Gradebook |
getGradebook(String uid) |
protected GradebookExternalAssessmentService |
getGradebookExternalAssessmentService() |
String |
getGradebookUid(Long id) |
boolean |
getIsAssignmentExcused(String gradebookUid,
Long assignmentId,
String studentUid) |
LetterGradePercentMapping |
getLetterGradePercentMapping(Gradebook gradebook) |
List<Permission> |
getPermissionsForGB(Long gradebookId)
Deprecated.
|
List<Permission> |
getPermissionsForGBForCategoryIds(Long gradebookId,
List cateIds) |
List<Permission> |
getPermissionsForUser(Long gradebookId,
String userId) |
List<Permission> |
getPermissionsForUserAnyCategory(Long gradebookId,
String userId) |
List<Permission> |
getPermissionsForUserAnyGroup(Long gradebookId,
String userId) |
List<Permission> |
getPermissionsForUserAnyGroupAnyCategory(Long gradebookId,
String userId) |
List<Permission> |
getPermissionsForUserAnyGroupForCategory(Long gradebookId,
String userId,
List cateIds) |
List<Permission> |
getPermissionsForUserForCategory(Long gradebookId,
String userId,
List cateIds) |
List<Permission> |
getPermissionsForUserForGoupsAnyCategory(Long gradebookId,
String userId,
List groupIds) |
List |
getPermissionsForUserForGroup(Long gradebookId,
String userId,
List groupIds) |
String |
getPropertyValue(String name) |
protected SectionAwareness |
getSectionAwareness() |
protected ServerConfigurationService |
getServerConfigurationService() |
protected String |
getUserUid() |
protected Map<String,Set<GradebookAssignment>> |
getVisibleExternalAssignments(Gradebook gradebook,
Collection<String> studentIds,
List<GradebookAssignment> assignments) |
boolean |
isAssignmentDefined(Long gradableObjectId) |
boolean |
isExplicitlyEnteredCourseGradeRecords(Long gradebookId) |
boolean |
isGradebookDefined(String gradebookUid) |
void |
postEvent(String event,
String objectReference) |
void |
removeCategory(Long categoryId) |
protected Long |
saveNewAssignment(Long gradebookId,
Long categoryId,
GradebookAssignment asn) |
void |
saveOrUpdateLetterGradePercentMapping(Map<String,Double> gradeMap,
Gradebook gradebook) |
void |
setAssignmentScoreComment(String gradebookUid,
Long assignmentId,
String studentUid,
String commentText) |
void |
setAuthn(Authn authn) |
void |
setEventTrackingService(EventTrackingService eventTrackingService) |
void |
setGradebookExternalAssessmentService(GradebookExternalAssessmentService externalAssessmentService) |
void |
setPropertyValue(String name,
String value) |
void |
setSectionAwareness(SectionAwareness sectionAwareness) |
void |
setServerConfigurationService(ServerConfigurationService serverConfigurationService) |
protected boolean |
studentCanView(String studentId,
GradebookAssignment assignment) |
protected void |
updateAssignment(GradebookAssignment assignment) |
void |
updateCategory(Category category) |
void |
updateGradebook(Gradebook gradebook) |
void |
updateGradeMapping(Long gradeMappingId,
Map<String,Double> gradeMap) |
void |
updatePermission(Collection perms)
Deprecated.
|
void |
updatePermission(Permission perm)
Deprecated.
|
protected boolean |
validateLetterGradeMapping(Map<String,Double> gradeMap) |