|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.integration.helper.standalone.GradebookServiceHelperImpl
public class GradebookServiceHelperImpl
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 Summary | |
|---|---|
GradebookServiceHelperImpl()
|
|
| Method Summary | |
|---|---|
boolean |
addToGradebook(PublishedAssessmentData publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
STUB. |
boolean |
gradebookExists(String gradebookUId,
org.sakaiproject.service.gradebook.shared.GradebookService g)
Always returns false, because standalone. |
boolean |
isAssignmentDefined(String assessmentTitle,
org.sakaiproject.service.gradebook.shared.GradebookService g)
|
boolean |
isGradebookExist(String siteId)
Always returns false, because standalone. |
void |
removeExternalAssessment(String gradebookUId,
String publishedAssessmentId,
org.sakaiproject.service.gradebook.shared.GradebookService g)
STUB. |
void |
updateExternalAssessmentScore(AssessmentGradingIfc ag,
org.sakaiproject.service.gradebook.shared.GradebookService g)
STUB. |
void |
updateExternalAssessmentScores(Long publishedAssessmentId,
Map studentUidsToScores,
org.sakaiproject.service.gradebook.shared.GradebookService g)
|
boolean |
updateGradebook(PublishedAssessmentIfc publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
|
| 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 isAssignmentDefined(String assessmentTitle,
org.sakaiproject.service.gradebook.shared.GradebookService g)
isAssignmentDefined in interface GradebookServiceHelper
public boolean addToGradebook(PublishedAssessmentData publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
addToGradebook in interface GradebookServiceHelperpublishedAssessment - the published assessmentg - the Gradebook Service
Exception
public void removeExternalAssessment(String gradebookUId,
String publishedAssessmentId,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
removeExternalAssessment in interface GradebookServiceHelpergradebookUId - the gradebook idpublishedAssessmentId - the id of the published assessmentg - the Gradebook Service
Exception
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 updateExternalAssessmentScore(AssessmentGradingIfc ag,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
updateExternalAssessmentScore in interface GradebookServiceHelperag - the assessment gradingg - the Gradebook Service
Exception
public void updateExternalAssessmentScores(Long publishedAssessmentId,
Map studentUidsToScores,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
updateExternalAssessmentScores in interface GradebookServiceHelperException
public boolean updateGradebook(PublishedAssessmentIfc publishedAssessment,
org.sakaiproject.service.gradebook.shared.GradebookService g)
throws Exception
updateGradebook in interface GradebookServiceHelperException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||