|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortalContextProvider
Provide information about the calling 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.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. |
| Method Detail |
|---|
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.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 number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||