|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.impl.PortalContextImpl
todo : does not provide customizable values for portlet modes and window states.
| 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 |
| Constructor Detail |
public PortalContextImpl(PortalContext portal)
| Method Detail |
public java.lang.String getPortalInfo()
PortalContext
The form of the returned string is servername/versionnumber. For
example, the reference implementation Pluto may return the string
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 PortalContextString containing at least the portal name and version numberpublic java.lang.String getProperty(java.lang.String name)
PortalContextnull if there is
no property by that name.
getProperty in interface PortalContextname - property name
namepublic java.util.Enumeration getPropertyNames()
PortalContextEnumeration if there are no property names.
getPropertyNames in interface PortalContextEnumeration of String objectspublic java.util.Enumeration getSupportedPortletModes()
PortalContextPorltetMode objects.
The portlet modes must at least include the
standard portlet modes EDIT, HELP, VIEW.
getSupportedPortletModes in interface PortalContextPorltetMode objects.public java.util.Enumeration getSupportedWindowStates()
PortalContextWindowState objects.
The window states must at least include the
standard window states MINIMIZED, NORMAL, MAXIMIZED.
getSupportedWindowStates in interface PortalContextWindowState objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||