|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.turbine.modules.Assembler org.apache.turbine.modules.Action org.apache.turbine.modules.ActionEvent org.apache.jetspeed.modules.actions.portlets.PortletActionEvent org.apache.jetspeed.modules.actions.portlets.PortletAction org.apache.jetspeed.modules.actions.portlets.GenericMVCAction org.apache.jetspeed.modules.actions.portlets.JspPortletAction
An abstract action class to build JspPortlet actions.
Don't call it from the URL, the Portlet and the Action are automatically associated through the registry PortletName
NOTE:This supports the pre-MVC style of template based portlet development and is supplied for backward compatibility. It is suggested you use a combination of
along with
subclassing @see org.apache.jetspeed.portal.portlets.GenericMVCAction
for future portlet development.
Field Summary |
Fields inherited from class org.apache.jetspeed.modules.actions.portlets.GenericMVCAction |
logger |
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Constructor Summary | |
JspPortletAction()
|
Method Summary | |
protected void |
buildConfigureContext(Portlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Subclasses should override this method if they wish to provide their own customization behavior. |
protected void |
buildConfigureContext(Portlet portlet,
org.apache.turbine.util.RunData rundata)
Kept for backward compatibility. |
protected void |
buildMaximizedContext(Portlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Subclasses should override this method if they wish to build specific content when maximized. |
protected void |
buildMaximizedContext(Portlet portlet,
org.apache.turbine.util.RunData rundata)
Kept for backward compatibility. |
protected void |
buildNormalContext(Portlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData data)
Subclasses must override this method to provide default behavior for the portlet action |
protected abstract void |
buildNormalContext(Portlet portlet,
org.apache.turbine.util.RunData rundata)
Subclasses must override this method to provide default behavior for the portlet action |
void |
setTemplate(org.apache.turbine.util.RunData data,
Portlet portlet,
java.lang.String template)
Deprecated. |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.GenericMVCAction |
checkAdministrativeAction, doPerform, getAttribute, getAttribute, getPortletInstance, perform, setAttribute |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.PortletAction |
doPerform, getContext, getPortlet, getTemplate, resetTemplate, setTemplate, setTemplate |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.PortletActionEvent |
executeEvents, fireEvent |
Methods inherited from class org.apache.turbine.modules.ActionEvent |
executeEvents, formatString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JspPortletAction()
Method Detail |
protected void buildConfigureContext(Portlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata) throws java.lang.Exception
GenericMVCAction
buildConfigureContext
in class GenericMVCAction
java.lang.Exception
org.apache.jetspeed.portal.portlets.mvc.PortletAction#buildConfigureContext(Portlet, Context, RunData)
protected void buildConfigureContext(Portlet portlet, org.apache.turbine.util.RunData rundata) throws java.lang.Exception
java.lang.Exception
protected void buildMaximizedContext(Portlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata) throws java.lang.Exception
GenericMVCAction
buildMaximizedContext
in class GenericMVCAction
java.lang.Exception
org.apache.jetspeed.portal.portlets.mvc.PortletAction#buildMaximizedContext(Portlet, Context, RunData)
protected void buildMaximizedContext(Portlet portlet, org.apache.turbine.util.RunData rundata) throws java.lang.Exception
java.lang.Exception
protected void buildNormalContext(Portlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData data) throws java.lang.Exception
GenericMVCAction
buildNormalContext
in class GenericMVCAction
java.lang.Exception
org.apache.jetspeed.portal.portlets.mvc.PortletAction#buildNormalContext(Portlet, Context, RunData)
protected abstract void buildNormalContext(Portlet portlet, org.apache.turbine.util.RunData rundata) throws java.lang.Exception
java.lang.Exception
public void setTemplate(org.apache.turbine.util.RunData data, Portlet portlet, java.lang.String template)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |