org.apache.jetspeed
Interface PortalContext

All Superinterfaces:
javax.portlet.PortalContext

public interface PortalContext
extends javax.portlet.PortalContext

Portal Context associated with running thread of the engine

Version:
$Id: PortalContext.java 185962 2004-03-08 01:03:33Z jford $
Author:
David Sean Taylor

Method Summary
 String getApplicationRoot()
          Returns the application root for this Jetspeed engine context.
 Object getAttribute(String name)
           
 PortalConfiguration getConfiguration()
           
 String getConfigurationProperty(String key)
           
 String getConfigurationProperty(String key, String defaultValue)
           
 Engine getEngine()
           
 boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
           
 boolean isWindowStateAllowed(javax.portlet.WindowState state)
           
 void setApplicationRoot(String applicationRoot)
          Sets the application root path for this Jetspeed engine context.
 void setAttribute(String name, Object value)
           
 void setConfiguration(PortalConfiguration configuration)
           
 
Methods inherited from interface javax.portlet.PortalContext
getPortalInfo, getProperty, getPropertyNames, getSupportedPortletModes, getSupportedWindowStates
 

Method Detail

getEngine

Engine getEngine()

getConfiguration

PortalConfiguration getConfiguration()

setConfiguration

void setConfiguration(PortalConfiguration configuration)

getConfigurationProperty

String getConfigurationProperty(String key)

getConfigurationProperty

String getConfigurationProperty(String key,
                                String defaultValue)

setAttribute

void setAttribute(String name,
                  Object value)

getAttribute

Object getAttribute(String name)

getApplicationRoot

String getApplicationRoot()
Returns the application root for this Jetspeed engine context.

Returns:
a String containing the application root path for this Jetspeed context.

setApplicationRoot

void setApplicationRoot(String applicationRoot)
Sets the application root path for this Jetspeed engine context.

Parameters:
applicationRoot - - the applicationRoot path on the file system.

isPortletModeAllowed

boolean isPortletModeAllowed(javax.portlet.PortletMode mode)

isWindowStateAllowed

boolean isWindowStateAllowed(javax.portlet.WindowState state)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.