|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PortalContext
interface gives the portlet the ability to retrieve information about the portal
calling this portlet.
PortalContext
data.
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. |
Method Detail |
public java.lang.String getPortalInfo()
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)
.
String
containing at least the portal name and version numberpublic java.lang.String getProperty(java.lang.String name)
null
if there is no property by that name.
name
- property name
name
java.lang.IllegalArgumentException
- if name is null
.public java.util.Enumeration getPropertyNames()
Enumeration
if there are no property names.
Enumeration
of String
objectspublic java.util.Enumeration getSupportedPortletModes()
PorltetMode
objects.
The portlet modes must at least include the standard portlet modes EDIT, HELP, VIEW
.
PorltetMode
objects.public java.util.Enumeration getSupportedWindowStates()
WindowState
objects.
The window states must at least include the standard window states MINIMIZED, NORMAL, MAXIMIZED
.
WindowState
objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |