Interface WidgetManipulationAction
-
- All Known Implementing Classes:
AddWidgetToHolderAction
,GetTemporaryHoldersAction
,MoveWidgetToHolderAction
,RemoveWidgetAction
public interface WidgetManipulationAction
Interface that must be implemented by classes responsible for manipulating user widgets.- Since:
- 6.0.0
- Version:
- $Revision: 20196 $ $Date: 2017-05-31 16:54:23 -0300 (Wed, 31 May 2017) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
doAction(HttpServletRequest request, IPortalMode portalMode, ITransaction transaction)
Performs necessary widget manipulation.
-
-
-
Method Detail
-
doAction
String doAction(HttpServletRequest request, IPortalMode portalMode, ITransaction transaction) throws PortalException
Performs necessary widget manipulation. Must return aHTTP status code
to indicate if it was succeeded or not. It is not responsible of implementing classes torollback
orclose
the transaction. If the return code is different fromHttpServletResponse.SC_OK
, the caller will do therollback
automatically.- Parameters:
request
- the HTTP servlet request.portalMode
- the current portal mode.transaction
- the transaction to be used.- Returns:
- the json result as a string.
- Throws:
PortalException
- Since:
- 6.0.0
-
-