org.sakaiproject.api.section.facade.manager
Interface Context

All Known Implementing Classes:
ContextSakaiImpl, ContextStandaloneImpl, ContextTestImpl

public interface Context

Gets the context for the current request. This corresponds to the Site context in Sakai.

Author:
Josh Holtzman

Method Summary
 String getContext(Object request)
          Gets the site context.
 String getContextTitle(Object request)
          Gets the label or title for this context.
 

Method Detail

getContext

public String getContext(Object request)
Gets the site 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)
Gets the label or title for this context.