org.jasig.portal.portlet.container
Class PortalContextImpl

java.lang.Object
  extended by org.jasig.portal.portlet.container.PortalContextImpl
All Implemented Interfaces:
PortalContext

public class PortalContextImpl
extends Object
implements PortalContext

Provides basic information about uPortal and features it supports. The class will function with no configuration but no properties, states or modes are set by default.

Version:
$Revision$
Author:
Eric Dalquist

Constructor Summary
PortalContextImpl()
           
 
Method Summary
 String getPortalInfo()
           
 Properties getPortalProperties()
           
 Set<PortletMode> getPortletModes()
           
 String getProperty(String name)
           
 Enumeration<String> getPropertyNames()
           
 Enumeration<PortletMode> getSupportedPortletModes()
           
 Enumeration<WindowState> getSupportedWindowStates()
           
 Set<WindowState> getWindowStates()
           
 void setPortalProperties(Properties portalProperties)
           
 void setPortletModes(Set<PortletMode> portletModes)
           
 void setWindowStates(Set<WindowState> windowStates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalContextImpl

public PortalContextImpl()
Method Detail

getPortalProperties

public Properties getPortalProperties()
Returns:
the portalProperties, will not be null.

setPortalProperties

public void setPortalProperties(Properties portalProperties)
Parameters:
portalProperties - the portalProperties to set, can not be null.

getPortletModes

public Set<PortletMode> getPortletModes()
Returns:
the portletModes, will not be null.

setPortletModes

public void setPortletModes(Set<PortletMode> portletModes)
Parameters:
portletModes - the portletModes to set, can not be null.

getWindowStates

public Set<WindowState> getWindowStates()
Returns:
the windowStates, will not be null.

setWindowStates

public void setWindowStates(Set<WindowState> windowStates)
Parameters:
windowStates - the windowStates to set, can not be null.

getPortalInfo

public String getPortalInfo()
Specified by:
getPortalInfo in interface PortalContext

getProperty

public String getProperty(String name)
Specified by:
getProperty in interface PortalContext

getPropertyNames

public Enumeration<String> getPropertyNames()
Specified by:
getPropertyNames in interface PortalContext

getSupportedPortletModes

public Enumeration<PortletMode> getSupportedPortletModes()
Specified by:
getSupportedPortletModes in interface PortalContext

getSupportedWindowStates

public Enumeration<WindowState> getSupportedWindowStates()
Specified by:
getSupportedWindowStates in interface PortalContext


Copyright © 2010 Jasig. All Rights Reserved.