|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.portlet.impl.jsr168.PortalContextImpl
todo : does not provide customizable values for portlet modes and window states.
Field Summary | |
private PortalContext |
portal
|
private java.util.Map |
properties
|
private java.util.Set |
supportedPortletModes
|
private java.util.Set |
supportedWindowStates
|
Constructor Summary | |
PortalContextImpl(PortalContext portal)
|
Method Summary | |
java.lang.String |
getPortalInfo()
Returns information about the portal like vendor, version, etc. |
java.lang.String |
getProperty(java.lang.String name)
Returns the portal property with the given name, or a null if there is no property by that name. |
java.util.Enumeration |
getPropertyNames()
Returns all portal property names, or an empty Enumeration if there are no property names. |
java.util.Enumeration |
getSupportedPortletModes()
Returns all supported portlet modes by the portal as an enumertation of PorltetMode objects. |
java.util.Enumeration |
getSupportedWindowStates()
Returns all supported window states by the portal as an enumertation of WindowState objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private PortalContext portal
private java.util.Map properties
private java.util.Set supportedPortletModes
private java.util.Set supportedWindowStates
Constructor Detail |
public PortalContextImpl(PortalContext portal)
Method Detail |
public java.lang.String getPortalInfo()
PortalContext
Pluto/1.0
.
The portlet container may return other optional information after the primary string in parentheses, for example,
Pluto/1.0 (JDK 1.3.1; Windows NT 4.0 x86)
.
getPortalInfo
in interface PortalContext
String
containing at least the portal name and version numberpublic java.lang.String getProperty(java.lang.String name)
PortalContext
null
if there is no property by that name.
getProperty
in interface PortalContext
name
- property name
name
public java.util.Enumeration getPropertyNames()
PortalContext
Enumeration
if there are no property names.
getPropertyNames
in interface PortalContext
Enumeration
of String
objectspublic java.util.Enumeration getSupportedPortletModes()
PortalContext
PorltetMode
objects.
The portlet modes must at least include the standard portlet modes EDIT, HELP, VIEW
.
getSupportedPortletModes
in interface PortalContext
PorltetMode
objects.public java.util.Enumeration getSupportedWindowStates()
PortalContext
WindowState
objects.
The window states must at least include the standard window states MINIMIZED, NORMAL, MAXIMIZED
.
getSupportedWindowStates
in interface PortalContext
WindowState
objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |