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$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
doAction(javax.servlet.http.HttpServletRequest request, IPortalMode portalMode, ITransaction transaction)
Performs necessary widget manipulation.
-
-
-
Method Detail
-
doAction
java.lang.String doAction(javax.servlet.http.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
-
-