Liferay 7.0-ce-b4

com.liferay.portal.kernel.portlet.bridges.mvc
Class BaseTransactionalMVCActionCommand

java.lang.Object
  extended by com.liferay.portal.kernel.portlet.bridges.mvc.BaseTransactionalMVCActionCommand
All Implemented Interfaces:
MVCActionCommand, MVCCommand

public abstract class BaseTransactionalMVCActionCommand
extends Object
implements MVCActionCommand


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.portlet.bridges.mvc.MVCActionCommand
EMPTY
 
Constructor Summary
BaseTransactionalMVCActionCommand()
           
 
Method Summary
protected abstract  void doTransactionalCommand(ActionRequest actionRequest, ActionResponse actionResponse)
           
 boolean processAction(ActionRequest actionRequest, ActionResponse actionResponse)
          Invoked by MVCPortlet to allow the portlet to process an action request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTransactionalMVCActionCommand

public BaseTransactionalMVCActionCommand()
Method Detail

processAction

public boolean processAction(ActionRequest actionRequest,
                             ActionResponse actionResponse)
                      throws PortletException
Description copied from interface: MVCActionCommand
Invoked by MVCPortlet to allow the portlet to process an action request.

Specified by:
processAction in interface MVCActionCommand
Parameters:
actionRequest - the action request
actionResponse - the action response
Returns:
true if an error occurs in processing the action request; false otherwise
Throws:
PortletException

doTransactionalCommand

protected abstract void doTransactionalCommand(ActionRequest actionRequest,
                                               ActionResponse actionResponse)
                                        throws Exception
Throws:
Exception

Liferay 7.0-ce-b4