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() |
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 String getAppName()
getAppName in interface GradebookServiceHelperpublic boolean addToGradebook(PublishedAssessmentData publishedAssessment, Long categoryId, 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 GradebookServiceHelperExceptionpublic void updateExternalAssessmentComment(Long publishedAssessmentId, String studentUid, String comment, GradebookExternalAssessmentService g) throws Exception
updateExternalAssessmentComment in interface GradebookServiceHelperExceptionpublic Long getExternalAssessmentCategoryId(String gradebookUId, String publishedAssessmentId, GradebookExternalAssessmentService g)
getExternalAssessmentCategoryId in interface GradebookServiceHelperCopyright © 2003–2021 Sakai Project. All rights reserved.