public interface PortalContextProvider
Modifier and Type | Method and Description |
---|---|
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.Collection |
getPropertyNames()
Returns all portal property names as strings,
or an empty
Collection if
there are no property names. |
java.util.Collection |
getSupportedPortletModes()
Returns the portlet modes that the portal supports
as
javax.portlet.PortletMode objects. |
java.util.Collection |
getSupportedWindowStates()
Returns the window states that the portal supports
as
javax.portlet.WindowState objects. |
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
.java.util.Collection getPropertyNames()
Collection
if
there are no property names.java.util.Collection getSupportedPortletModes()
javax.portlet.PortletMode
objects.
The portlet modes must at least include the
standard portlet modes EDIT, HELP, VIEW
.
java.util.Collection getSupportedWindowStates()
javax.portlet.WindowState
objects.
The window states must at least include the
standard window states MINIMIZED, NORMAL, MAXIMIZED
.
java.lang.String getPortalInfo()
The returned string starts with
servername/versionnumber
Other optional information follow the primary string in parentheses.
String
containing at least the portal name and version numberCopyright © 2003-2013 . All Rights Reserved.