public class GradebookServiceHelperImpl extends Object implements GradebookServiceHelper
Description: This is an integrated context implementation helper delegate class for the GradebookService class. "Integrated" means that Samigo (Tests and Quizzes) is running within the context of the Sakai portal and authentication mechanisms, and therefore makes calls on Sakai for things it needs.
Note: To customize behavior you can add your own helper class to the Spring injection via the integrationContext.xml for your context. The particular integrationContext.xml to be used is selected by the build process.
Sakai Project Copyright (c) 2005
| Constructor and Description |
|---|
GradebookServiceHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addToGradebook(PublishedAssessmentData publishedAssessment,
GradebookExternalAssessmentService g)
Add a published assessment to gradebook.
|
boolean |
gradebookExists(String gradebookUId,
GradebookExternalAssessmentService g)
Does a gradebook exist?
|
boolean |
isAssignmentDefined(String assessmentTitle,
GradebookExternalAssessmentService g) |
boolean |
isGradebookExist(String siteId)
Does a gradebook exist?
|
void |
removeExternalAssessment(String gradebookUId,
String publishedAssessmentId,
GradebookExternalAssessmentService g)
Remove a published assessment from the gradebook.
|
void |
updateExternalAssessmentScore(AssessmentGradingData ag,
GradebookExternalAssessmentService g)
Update the grading of the assessment.
|
void |
updateExternalAssessmentScores(Long publishedAssessmentId,
Map<String,Double> studentUidsToScores,
GradebookExternalAssessmentService g) |
boolean |
updateGradebook(PublishedAssessmentIfc publishedAssessment,
GradebookExternalAssessmentService g)
Update a gradebook.
|
public boolean gradebookExists(String gradebookUId, GradebookExternalAssessmentService g)
gradebookExists in interface GradebookServiceHelpergradebookUId - the gradebook idg - the Gradebook Servicepublic boolean isGradebookExist(String siteId)
isGradebookExist in interface GradebookServiceHelpersiteId - the site idpublic void removeExternalAssessment(String gradebookUId, String publishedAssessmentId, GradebookExternalAssessmentService g) throws Exception
removeExternalAssessment in interface GradebookServiceHelpergradebookUId - the gradebook idg - the Gradebook ServicepublishedAssessmentId - the id of the published assessmentExceptionpublic boolean isAssignmentDefined(String assessmentTitle, GradebookExternalAssessmentService g) throws Exception
isAssignmentDefined in interface GradebookServiceHelperExceptionpublic boolean addToGradebook(PublishedAssessmentData publishedAssessment, GradebookExternalAssessmentService g) throws Exception
addToGradebook in interface GradebookServiceHelperpublishedAssessment - the published assessmentg - the Gradebook ServiceExceptionpublic boolean updateGradebook(PublishedAssessmentIfc publishedAssessment, GradebookExternalAssessmentService g) throws Exception
updateGradebook in interface GradebookServiceHelperpublishedAssessment - the published assessmentg - the Gradebook ServiceExceptionpublic void updateExternalAssessmentScore(AssessmentGradingData ag, GradebookExternalAssessmentService g) throws Exception
updateExternalAssessmentScore in interface GradebookServiceHelperag - the assessment grading.g - the Gradebook ServiceExceptionpublic void updateExternalAssessmentScores(Long publishedAssessmentId, Map<String,Double> studentUidsToScores, GradebookExternalAssessmentService g) throws Exception
updateExternalAssessmentScores in interface GradebookServiceHelperExceptionCopyright © 2005-2014 Sakai Project. All Rights Reserved.