| java.lang.Object org.sakaiproject.gradebooksample.CourseGradesToSpreadsheetConverterSample
CourseGradesToSpreadsheetConverterSample | public class CourseGradesToSpreadsheetConverterSample implements CourseGradesToSpreadsheetConverter(Code) | | Sample customization of course grade spreadsheet downloads. This changes
the default behavior in the following ways:
- The student name column is dropped.
- Another column is added to hold "Comments".
- The Course Management service is used to look up each student's
grading scheme.
- If the grading scheme is "Pass/Fail" or "Satisfactory/Unsatisfactory",
then the Gradebook's letter grade is converted to "P", "NP", "S", or "U"
based on a string translation table. The converted value is put into the
"Grade" column and the original letter grade is put into the "Comments" column.
Once this has been deployed as a Sakai component, it can be plugged into
the Gradebook application by adding the following line to "sakai.properties":
gradebook.coursegrades.converter=org.sakaiproject.gradebooksample.CourseGradesToSpreadsheetConverterSample
|
getLetterGradingSchemeName | public String getLetterGradingSchemeName()(Code) | | |
getPassGradingSchemeName | public String getPassGradingSchemeName()(Code) | | |
getSatisfactoryGradingSchemeName | public String getSatisfactoryGradingSchemeName()(Code) | | |
setLetterGradingSchemeName | public void setLetterGradingSchemeName(String letterGradingSchemeName)(Code) | | |
setLetterToSatisfactoryMap | public void setLetterToSatisfactoryMap(Map<String, String> letterToSatisfactoryMap)(Code) | | |
setPassGradingSchemeName | public void setPassGradingSchemeName(String passGradingSchemeName)(Code) | | |
setSatisfactoryGradingSchemeName | public void setSatisfactoryGradingSchemeName(String satisfactoryGradingSchemeName)(Code) | | |
|
|