org.sakaiproject.tool.gradebook.facades.standalone
Class ContextManagementStandaloneImpl

java.lang.Object
  extended by org.sakaiproject.tool.gradebook.facades.standalone.ContextManagementStandaloneImpl
All Implemented Interfaces:
ContextManagement

public class ContextManagementStandaloneImpl
extends Object
implements ContextManagement

An implementation of the ContextManagement facade to support demos and UI tests.


Constructor Summary
ContextManagementStandaloneImpl()
           
 
Method Summary
 String getGradebookUid(Object request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextManagementStandaloneImpl

public ContextManagementStandaloneImpl()
Method Detail

getGradebookUid

public String getGradebookUid(Object request)
Specified by:
getGradebookUid in interface ContextManagement
Parameters:
request - the javax.servlet.http.HttpServletRequest or javax.portlet.PortletRequest from which to determine the current gradebook. Since they don't share an interface, a generic object is passed.
Returns:
the UID of the currently selected gradebook, or null if the context manager cannot determine a selected gradebook


Copyright © 2011 Sakai Project. All Rights Reserved.