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

Field Summary
 
Fields inherited from interface javax.portlet.PortalContext
MARKUP_HEAD_ELEMENT_SUPPORT
 
Method Summary
 java.lang.String getApplicationRoot()
          Returns the application root for this Jetspeed engine context.
 java.lang.Object getAttribute(java.lang.String name)
           
 PortalConfiguration getConfiguration()
           
 java.lang.String getConfigurationProperty(java.lang.String key)
           
 java.lang.String getConfigurationProperty(java.lang.String key, java.lang.String defaultValue)
           
 java.lang.String getContextPath()
           
 Engine getEngine()
           
 boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
           
 boolean isWindowStateAllowed(javax.portlet.WindowState state)
           
 void setApplicationRoot(java.lang.String applicationRoot)
          Sets the application root path for this Jetspeed engine context.
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 void setConfiguration(PortalConfiguration configuration)
           
 void setContextPath(java.lang.String contextPath)
          Sets the web context path where the Jetspeed Portal is running
 
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

java.lang.String getConfigurationProperty(java.lang.String key)

getConfigurationProperty

java.lang.String getConfigurationProperty(java.lang.String key,
                                          java.lang.String defaultValue)

setAttribute

void setAttribute(java.lang.String name,
                  java.lang.Object value)

getAttribute

java.lang.Object getAttribute(java.lang.String name)

getApplicationRoot

java.lang.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(java.lang.String applicationRoot)
Sets the application root path for this Jetspeed engine context.

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

getContextPath

java.lang.String getContextPath()
Returns:
the web context path where the Jetspeed Portal is running

setContextPath

void setContextPath(java.lang.String contextPath)
Sets the web context path where the Jetspeed Portal is running

Parameters:
contextPath -

isPortletModeAllowed

boolean isPortletModeAllowed(javax.portlet.PortletMode mode)

isWindowStateAllowed

boolean isWindowStateAllowed(javax.portlet.WindowState state)


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.