org.sakaiproject.tool.assessment.services.gradebook
Class GradebookServiceHelper

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.services.gradebook.GradebookServiceHelper

public class GradebookServiceHelper
extends Object

The GradingService calls the back end to get grading information from the database.

Author:
Rachel Gollub

Constructor Summary
GradebookServiceHelper()
           
 
Method Summary
static boolean addToGradebook(PublishedAssessmentData publishedAssessment)
           
static boolean gradebookExists(String siteId)
           
static boolean isAssignmentDefined(String assessmentTitle)
           
static void removeExternalAssessment(String siteId, String publishedAssessmentId)
           
static void updateExternalAssessment(AssessmentGradingData ag, String agentIdString)
           
static void updateExternalAssessmentScore(AssessmentGradingIfc ag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradebookServiceHelper

public GradebookServiceHelper()
Method Detail

addToGradebook

public static boolean addToGradebook(PublishedAssessmentData publishedAssessment)
                              throws Exception
Throws:
Exception

isAssignmentDefined

public static boolean isAssignmentDefined(String assessmentTitle)
                                   throws Exception
Throws:
Exception

removeExternalAssessment

public static void removeExternalAssessment(String siteId,
                                            String publishedAssessmentId)
                                     throws Exception
Throws:
Exception

updateExternalAssessment

public static void updateExternalAssessment(AssessmentGradingData ag,
                                            String agentIdString)

gradebookExists

public static boolean gradebookExists(String siteId)

updateExternalAssessmentScore

public static void updateExternalAssessmentScore(AssessmentGradingIfc ag)
                                          throws Exception
Throws:
Exception