org.sakaiproject.tool.gradebook.facades.sakai2impl
Class ContextManagementSakai2Impl

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

public class ContextManagementSakai2Impl
extends Object
implements ContextManagement

Gets the current context for a gradebook inside sakai2.

Author:
Josh Holtzman

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

Constructor Detail

ContextManagementSakai2Impl

public ContextManagementSakai2Impl()
Method Detail

getGradebookUid

public String getGradebookUid(Object notNeededInSakai)
Specified by:
getGradebookUid in interface ContextManagement
Parameters:
notNeededInSakai - 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
See Also:
ContextManagement.getGradebookUid(java.lang.Object)


Copyright © 2011 Sakai Project. All Rights Reserved.