|
Portlet API (V0.7.1) | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 as strings, or an empty Enumeration if
there are no property names. |
java.util.Enumeration |
getSupportedPortletModes()
Returns the portlet modes that the portal supports. |
java.util.Enumeration |
getSupportedWindowStates()
Returns the window states that the portal supports. |
Method Detail |
public java.lang.String getProperty(java.lang.String name)
null
if there is
no property by that name.name
- property namename
java.lang.IllegalArgumentException
- if name is null
.public java.util.Enumeration getPropertyNames()
Enumeration
if
there are no property names.public java.util.Enumeration getSupportedPortletModes()
The portlet modes must at least include the
standard portlet modes EDIT, HELP, VIEW
.
public java.util.Enumeration getSupportedWindowStates()
The window states must at least include the
standard window states MINIMIZED, NORMAL, MAXIMIZED
.
public java.lang.String getPortalInfo()
The returned string should start with
vendorname.majorversion.minorversion.
|
Portlet API (V0.7.1) | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |