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

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

public class GradebookHelperImpl
extends Object
implements GradebookHelper

Description: This is a stub standalone context implementation helper delegate class for the GradebookFacade class. The helper methods use hardcoded values. "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.

Sakai Project Copyright (c) 2005

Author:
Ed Smiley
See Also:
Serialized Form

Constructor Summary
GradebookHelperImpl()
           
 
Method Summary
 String getDefaultGradebookUId()
          Hardcoded stub.
 String getGradebookUId(String siteId)
          Hardcoded stub.
 
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)
Hardcoded stub. Get current gradebook uid.

Specified by:
getGradebookUId in interface GradebookHelper
Returns:
Gradebook #10

getDefaultGradebookUId

public String getDefaultGradebookUId()
Hardcoded stub. Get teh default gradebook uid.

Specified by:
getDefaultGradebookUId in interface GradebookHelper
Returns:
Gradebook #1


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