org.sakaiproject.component.section.facade.impl.standalone
Class ContextStandaloneImpl

java.lang.Object
  extended byorg.sakaiproject.component.section.facade.impl.standalone.ContextStandaloneImpl
All Implemented Interfaces:
Context

public class ContextStandaloneImpl
extends Object
implements Context

Standalone implementation of Context, using the HttpSession to store current context.

Author:
Josh Holtzman

Field Summary
static String CONTEXT
           
 
Constructor Summary
ContextStandaloneImpl()
           
 
Method Summary
 String getContext(Object request)
          Gets the site context.
 String getContextTitle(Object request)
          Gets the label or title for this context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT

public static final String CONTEXT
See Also:
Constant Field Values
Constructor Detail

ContextStandaloneImpl

public ContextStandaloneImpl()
Method Detail

getContext

public String getContext(Object request)
Description copied from interface: Context
Gets the site context.

Specified by:
getContext in interface Context
Parameters:
request - The object containing the context information. This will usually be something like a HttpServletRequest. In Sakai, the object can be null.
Returns:

getContextTitle

public String getContextTitle(Object request)
Description copied from interface: Context
Gets the label or title for this context.

Specified by:
getContextTitle in interface Context