org.sakaiproject.tool.assessment.integration.helper.integrated
Class GradebookHelperImpl

java.lang.Object
  extended by org.sakaiproject.tool.assessment.integration.helper.integrated.GradebookHelperImpl
All Implemented Interfaces:
Serializable, GradebookHelper

public class GradebookHelperImpl
extends Object
implements GradebookHelper

Description: This is an integrated context implementation helper delegate class for the GradebookFacade 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

Author:
Ed Smiley based on code originally in GradebookFacade
See Also:
Serialized Form

Constructor Summary
GradebookHelperImpl()
           
 
Method Summary
 String getDefaultGradebookUId()
          Get the default gradebook uid.
 String getGradebookUId(String siteId)
          Get current gradebook uid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradebookHelperImpl

public GradebookHelperImpl()
Method Detail

getGradebookUId

public String getGradebookUId(String siteId)
Get current gradebook uid. This will *fail* unless called from an integrated Sakai context!

Specified by:
getGradebookUId in interface GradebookHelper
Returns:
the current gradebook uid.

getDefaultGradebookUId

public String getDefaultGradebookUId()
Get the default gradebook uid.

Specified by:
getDefaultGradebookUId in interface GradebookHelper
Returns:
"Test Gradebook #1" (always)


Copyright © 2005-2012 Sakai Project. All Rights Reserved.