|
|||||||||||
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.VelocityPortletAction
An abstract action class to build VelocityPortlet 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 | |
VelocityPortletAction()
|
Method Summary | |
protected void |
buildConfigureContext(Portlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData data)
Subclasses should override this method if they wish to provide their own customization behavior. |
protected void |
buildConfigureContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData data)
prevents possible self-referencing loop when sub-classes invoke super.buildConfigureContext(). |
protected void |
buildMaximizedContext(Portlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData data)
Subclasses should override this method if they wish to build specific content when maximized. |
protected void |
buildMaximizedContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData data)
prevents possible self-referencing loop when sub-classes invoke super.buildMaximizedContext(). |
protected void |
buildNormalContext(Portlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData data)
STW: Backwards compatibility so the overriden method is called specifically using a cast to VelocityPortlet |
protected abstract void |
buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Subclasses must override this method to provide default behavior for the portlet action |
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 VelocityPortletAction()
Method Detail |
protected abstract void buildNormalContext(VelocityPortlet portlet, org.apache.velocity.context.Context context, 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
buildNormalContext
in class GenericMVCAction
java.lang.Exception
org.apache.jetspeed.portal.portlets.mvc.PortletAction#buildNormalContext(Portlet, Context, RunData)
protected void buildConfigureContext(Portlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData data) 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(VelocityPortlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData data) throws java.lang.Exception
java.lang.Exception
protected void buildMaximizedContext(Portlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData data) throws java.lang.Exception
GenericMVCAction
buildMaximizedContext
in class GenericMVCAction
java.lang.Exception
protected void buildMaximizedContext(VelocityPortlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData data) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |