| javax.portlet.PortalContext
All known Subclasses: com.sun.portal.portlet.impl.PortalContextImpl,
PortalContext | public interface PortalContext (Code) | | The PortalContext interface gives the portlet
the ability to retrieve information about the portal calling this portlet.
The portlet can only read the PortalContext data.
|
getPortalInfo | public java.lang.String getPortalInfo()(Code) | | Returns information about the portal like vendor, version, etc.
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) .
a String containing at least the portal name and version number |
getPropertyNames | public java.util.Enumeration getPropertyNames()(Code) | | Returns all portal property names, or an empty
Enumeration if there are no property names.
All portal property names as an Enumeration of String objects |
getSupportedPortletModes | public java.util.Enumeration getSupportedPortletModes()(Code) | | Returns all supported portlet modes by the portal
as an enumertation of PorltetMode objects.
The portlet modes must at least include the
standard portlet modes EDIT, HELP, VIEW .
All supported portal modes by the portalas an enumertation of PorltetMode objects. |
getSupportedWindowStates | public java.util.Enumeration getSupportedWindowStates()(Code) | | Returns all supported window states by the portal
as an enumertation of WindowState objects.
The window states must at least include the
standard window states MINIMIZED, NORMAL, MAXIMIZED .
All supported window states by the portalas an enumertation of WindowState objects. |
|
|