|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.integration.helper.integrated.GradebookServiceHelperImpl
public class GradebookServiceHelperImpl
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 Summary | |
|---|---|
GradebookServiceHelperImpl()
|
|
| Method Summary | |
|---|---|
boolean |
addToGradebook(PublishedAssessmentData publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
Add a published assessment to gradebook. |
boolean |
gradebookExists(String gradebookUId,
org.sakaiproject.service.gradebook.shared.GradebookService g)
Does a gradebook exist? |
boolean |
isAssignmentDefined(String assessmentTitle,
org.sakaiproject.service.gradebook.shared.GradebookService g)
|
boolean |
isGradebookExist(String siteId)
Does a gradebook exist? |
void |
removeExternalAssessment(String gradebookUId,
String publishedAssessmentId,
org.sakaiproject.service.gradebook.shared.GradebookService g)
Remove a published assessment from the gradebook. |
void |
updateExternalAssessmentScore(AssessmentGradingIfc ag,
org.sakaiproject.service.gradebook.shared.GradebookService g)
Update the grading of the assessment. |
void |
updateExternalAssessmentScores(Long publishedAssessmentId,
Map studentUidsToScores,
org.sakaiproject.service.gradebook.shared.GradebookService g)
|
boolean |
updateGradebook(PublishedAssessmentIfc publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
Update a gradebook. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GradebookServiceHelperImpl()
| Method Detail |
|---|
public boolean gradebookExists(String gradebookUId,
org.sakaiproject.service.gradebook.shared.GradebookService g)
gradebookExists in interface GradebookServiceHelpergradebookUId - the gradebook idg - the Gradebook Service
public boolean isGradebookExist(String siteId)
isGradebookExist in interface GradebookServiceHelpersiteId - the site id
public void removeExternalAssessment(String gradebookUId,
String publishedAssessmentId,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
removeExternalAssessment in interface GradebookServiceHelpergradebookUId - the gradebook idg - the Gradebook ServicepublishedAssessmentId - the id of the published assessment
Exception
public boolean isAssignmentDefined(String assessmentTitle,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
isAssignmentDefined in interface GradebookServiceHelperException
public boolean addToGradebook(PublishedAssessmentData publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
addToGradebook in interface GradebookServiceHelperpublishedAssessment - the published assessmentg - the Gradebook Service
Exception
public boolean updateGradebook(PublishedAssessmentIfc publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
updateGradebook in interface GradebookServiceHelperpublishedAssessment - the published assessmentg - the Gradebook Service
Exception
public void updateExternalAssessmentScore(AssessmentGradingIfc ag,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
updateExternalAssessmentScore in interface GradebookServiceHelperag - the assessment grading.g - the Gradebook Service
Exception
public void updateExternalAssessmentScores(Long publishedAssessmentId,
Map studentUidsToScores,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
updateExternalAssessmentScores in interface GradebookServiceHelperException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||