|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.JetspeedPortalContext
public class JetspeedPortalContext
Implementation of Portal Context associated with running thread of the engine
| Constructor Summary | |
|---|---|
JetspeedPortalContext(Engine engine,
PortalConfiguration configuration,
java.lang.String applicationRoot)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getApplicationRoot()
Returns the application root for this Jetspeed engine context. |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the engine attribute with the given name, or null if there is no attribute by that name. |
PortalConfiguration |
getConfiguration()
Returns the configuration properties for this Jetspeed engine context. |
java.lang.String |
getConfigurationProperty(java.lang.String key)
|
java.lang.String |
getConfigurationProperty(java.lang.String key,
java.lang.String defaultValue)
|
Engine |
getEngine()
Returns the engine associated with this context. |
java.lang.String |
getPortalInfo()
|
java.lang.String |
getProperty(java.lang.String name)
|
java.util.Enumeration |
getPropertyNames()
|
java.util.Enumeration |
getSupportedPortletModes()
|
java.util.Enumeration |
getSupportedWindowStates()
|
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)
Binds an object to a given attribute name in this servlet context. |
void |
setConfiguration(PortalConfiguration configuration)
Set the configuration properties for this Jetspeed engine context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JetspeedPortalContext(Engine engine,
PortalConfiguration configuration,
java.lang.String applicationRoot)
| Method Detail |
|---|
public PortalConfiguration getConfiguration()
Configuration containing the configuration properties for this Jetspeed context.public java.lang.String getConfigurationProperty(java.lang.String key)
public java.lang.String getConfigurationProperty(java.lang.String key,
java.lang.String defaultValue)
public void setConfiguration(PortalConfiguration configuration)
configuration - - the configuration propertiespublic java.lang.String getApplicationRoot()
String containing the application root path for this Jetspeed context.public void setApplicationRoot(java.lang.String applicationRoot)
applicationRoot - - the applicationRoot path on the file system.public Engine getEngine()
Engine associated with this contextpublic java.lang.Object getAttribute(java.lang.String name)
Object containing the value of the attribute, or null if no attribute exists matching the given name
public void setAttribute(java.lang.String name,
java.lang.Object value)
name - - a String specifying the name of the attributevalue - - an Object representing the attribute to be boundpublic java.lang.String getProperty(java.lang.String name)
getProperty in interface javax.portlet.PortalContextpublic java.util.Enumeration getPropertyNames()
getPropertyNames in interface javax.portlet.PortalContextpublic java.util.Enumeration getSupportedPortletModes()
getSupportedPortletModes in interface javax.portlet.PortalContextpublic boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
public java.util.Enumeration getSupportedWindowStates()
getSupportedWindowStates in interface javax.portlet.PortalContextpublic boolean isWindowStateAllowed(javax.portlet.WindowState state)
public java.lang.String getPortalInfo()
getPortalInfo in interface javax.portlet.PortalContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||