Interface WidgetManipulationAction

    • Method Detail

      • doAction

        java.lang.String doAction​(javax.servlet.http.HttpServletRequest request,
                                  IPortalMode portalMode,
                                  ITransaction transaction)
                           throws PortalException
        Performs necessary widget manipulation. Must return a HTTP status code to indicate if it was succeeded or not. It is not responsible of implementing classes to rollback or close the transaction. If the return code is different from HttpServletResponse.SC_OK, the caller will do the rollback 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