|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.portal.PortletURIManager
Handles providing URIs to Portlet interface providers.
The URIs are based on the individual actions such as Edit/Max. Editing a portlet allows you to preview it and perform certain actions such as subscribing to it or adding it to your Mozilla sidebar. Maximizing a portlet allows you to view this portlet at full screen.
The following HTTP parameters are used to allow Jetspeed to figure out what to render:
name: fetches the name from the portlet registry and then adds some more info: - url: the URL on which this portlet is based - parameter-{NAME]: allows the client to add params to a Portlet - metainfo-[NAME}: allows the client to supply the title or description of the Portlet
Constructor Summary | |
PortletURIManager()
|
Method Summary | |
static PortletEntry |
getEntry(org.apache.turbine.util.ParameterParser params)
Given a ParameterParser, get a PortletEntry. |
static org.apache.turbine.util.DynamicURI |
getPortletEditURI(Portlet portlet,
org.apache.turbine.util.RunData data)
Get a URI for viewing this portlet by itself. |
static org.apache.turbine.util.DynamicURI |
getPortletMaxURI(RegistryEntry entry,
org.apache.turbine.util.RunData data)
Get a URL for viewing this URL full screen. |
static org.apache.turbine.util.DynamicURI |
getPortletMaxURI(java.lang.String name,
org.apache.turbine.util.RunData data)
Get a PortletURI by it's name and rundata |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PortletURIManager()
Method Detail |
public static org.apache.turbine.util.DynamicURI getPortletMaxURI(java.lang.String name, org.apache.turbine.util.RunData data)
getPortletMaxURI( RegistryEntry, RunData)
public static org.apache.turbine.util.DynamicURI getPortletEditURI(Portlet portlet, org.apache.turbine.util.RunData data)
public static org.apache.turbine.util.DynamicURI getPortletMaxURI(RegistryEntry entry, org.apache.turbine.util.RunData data)
public static final PortletEntry getEntry(org.apache.turbine.util.ParameterParser params)
Given a ParameterParser, get a PortletEntry. This is used so that when you have a URI created from PortletURIManager you can get back the PortletEntry that created it originally.
Return null if we aren't able to figure out the PortletEntry
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |