public class GradebookServiceHelperImpl extends Object implements GradebookServiceHelper
Description: This is a stub standalone context implementation helper delegate class for the GradebookService class.
The helper methods are stubs because in standalone there isn't gradebook integration.
"Standalone" means that Samigo (Tests and Quizzes) is running without the context of the Sakai portal and authentication mechanisms, and therefore we use stub methods.
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.
| Constructor and Description |
|---|
GradebookServiceHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addToGradebook(PublishedAssessmentData publishedAssessment,
GradebookExternalAssessmentService g)
STUB.
|
boolean |
gradebookExists(String gradebookUId,
GradebookExternalAssessmentService g)
Always returns false, because standalone.
|
boolean |
isAssignmentDefined(String assessmentTitle,
GradebookExternalAssessmentService g) |
boolean |
isGradebookExist(String siteId)
Always returns false, because standalone.
|
void |
removeExternalAssessment(String gradebookUId,
String publishedAssessmentId,
GradebookExternalAssessmentService g)
STUB.
|
void |
updateExternalAssessmentScore(AssessmentGradingData ag,
GradebookExternalAssessmentService g)
STUB.
|
void |
updateExternalAssessmentScores(Long publishedAssessmentId,
Map studentUidsToScores,
GradebookExternalAssessmentService g) |
boolean |
updateGradebook(PublishedAssessmentIfc publishedAssessment,
GradebookExternalAssessmentService g) |
public boolean isAssignmentDefined(String assessmentTitle, GradebookExternalAssessmentService g)
isAssignmentDefined in interface GradebookServiceHelperpublic boolean addToGradebook(PublishedAssessmentData publishedAssessment, GradebookExternalAssessmentService g)
addToGradebook in interface GradebookServiceHelperpublishedAssessment - the published assessmentg - the Gradebook ServiceExceptionpublic void removeExternalAssessment(String gradebookUId, String publishedAssessmentId, GradebookExternalAssessmentService g) throws Exception
removeExternalAssessment in interface GradebookServiceHelpergradebookUId - the gradebook idpublishedAssessmentId - the id of the published assessmentg - the Gradebook ServiceExceptionpublic 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 updateExternalAssessmentScore(AssessmentGradingData ag, GradebookExternalAssessmentService g) throws Exception
updateExternalAssessmentScore in interface GradebookServiceHelperag - the assessment gradingg - the Gradebook ServiceExceptionpublic void updateExternalAssessmentScores(Long publishedAssessmentId, Map studentUidsToScores, GradebookExternalAssessmentService g) throws Exception
updateExternalAssessmentScores in interface GradebookServiceHelperExceptionpublic boolean updateGradebook(PublishedAssessmentIfc publishedAssessment, GradebookExternalAssessmentService g) throws Exception
updateGradebook in interface GradebookServiceHelperExceptionCopyright © 2005-2014 Sakai Project. All Rights Reserved.