|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.portal.controllers.AbstractPortletController org.apache.jetspeed.portal.controllers.VelocityPortletController org.apache.jetspeed.portal.controllers.VelocityPanedPortletController
A Velocity based portlet controller implementation that can be used to manage paned content (ie, where a only a subset of all portlets is visible at any given time)
Field Summary | |
static java.lang.String |
DEFAULT_PARAMETER
|
Fields inherited from class org.apache.jetspeed.portal.controllers.AbstractPortletController |
DEFAULT_PADDING |
Constructor Summary | |
VelocityPanedPortletController()
|
Method Summary | |
java.lang.String |
getPaneParameter()
|
java.lang.String |
getParameterName()
Deprecated. |
org.apache.turbine.util.DynamicURI |
getPortletURI(Portlet portlet,
org.apache.turbine.util.RunData rundata)
Builds the link to access to a given pane. |
boolean |
isSelected(Portlet p,
org.apache.turbine.util.RunData rundata)
Test whether the selected portlet is considered selected for the current request. |
java.lang.String |
retrievePaneID(org.apache.turbine.util.RunData rundata,
boolean byParameter)
Returns the pane id of the parameter used for pane selection |
protected java.lang.String |
retrievePaneIDFromSession(org.apache.turbine.util.RunData rundata)
Returns the pane id from the session for pane selection of this portlet set / portal page |
java.lang.String |
retrievePaneName(org.apache.turbine.util.RunData rundata)
Deprecated. |
void |
savePaneID(org.apache.turbine.util.RunData data,
java.lang.String id)
Saves the pane id to the session to remember selection state of menu or tab for this portlet set / portal page. |
void |
savePaneName(org.apache.turbine.util.RunData data,
java.lang.String name)
Deprecated. |
void |
setParameterName(java.lang.String name)
Deprecated. |
Methods inherited from class org.apache.jetspeed.portal.controllers.VelocityPortletController |
buildContext, getContent |
Methods inherited from class org.apache.jetspeed.portal.controllers.AbstractPortletController |
getConfig, getConstraints, getContent, getHTMLContent, getPadding, getPortlets, getWidth, getWMLContent, init, setConfig, setPadding, setPadding, setPortlets, setWidth, supportsType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.portal.PortletController |
getConfig, getConstraints, getContent, getPortlets, init, setConfig, setPortlets, supportsType |
Field Detail |
public static final java.lang.String DEFAULT_PARAMETER
Constructor Detail |
public VelocityPanedPortletController()
Method Detail |
public java.lang.String getPaneParameter()
getPaneParameter
in interface PanedPortletController
public boolean isSelected(Portlet p, org.apache.turbine.util.RunData rundata)
isSelected
in interface PanedPortletController
p
- the Portlet to checkrundata
- the RunData for the request
public org.apache.turbine.util.DynamicURI getPortletURI(Portlet portlet, org.apache.turbine.util.RunData rundata)
getPortletURI
in interface PanedPortletController
rundata
- The request data.portlet
- The portlet to build the link for by id.
public java.lang.String retrievePaneID(org.apache.turbine.util.RunData rundata, boolean byParameter)
retrievePaneID
in interface PanedPortletController
rundata
- The request data.byParameter
- Set to true to look by query parameter first.
protected java.lang.String retrievePaneIDFromSession(org.apache.turbine.util.RunData rundata)
rundata
- The request data.
public void savePaneID(org.apache.turbine.util.RunData data, java.lang.String id)
savePaneID
in interface PanedPortletController
id
- The tab id to save for this controllerdata
- The request data.public void setParameterName(java.lang.String name)
setParameterName
in interface PanedPortletController
name
- the selection parameter namepublic java.lang.String getParameterName()
getParameterName
in interface PanedPortletController
public java.lang.String retrievePaneName(org.apache.turbine.util.RunData rundata)
retrievePaneName
in interface PanedPortletController
public void savePaneName(org.apache.turbine.util.RunData data, java.lang.String name)
savePaneName
in interface PanedPortletController
name
- the selection parameter name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |