You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2006/10/12 17:20:02 UTC

svn commit: r463271 - /portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/ajax/AjaxAction.java

Author: taylor
Date: Thu Oct 12 08:20:01 2006
New Revision: 463271

URL: http://svn.apache.org/viewvc?view=rev&rev=463271
Log:
- complete "multiple" action implementation
- batch mode for multiple actions

Modified:
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/ajax/AjaxAction.java

Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/ajax/AjaxAction.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/ajax/AjaxAction.java?view=diff&rev=463271&r1=463270&r2=463271
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/ajax/AjaxAction.java (original)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/ajax/AjaxAction.java Thu Oct 12 08:20:01 2006
@@ -40,6 +40,18 @@
      * @throws Exception
      */
     public boolean run(RequestContext requestContext, Map resultMap) throws AJAXException;
+
+    /**
+     * Same as run method, but runs in batch mode, as a hint to the action
+     * that it is running a multiple action and can delay its update
+     * runBatch currently supports pageManager.updatePage
+     *  
+     * @param requestContext The Jetspeed Request Context
+     * @param resultMap map of action parameters passed to the builder context
+     * @return success is true, failure is false
+     * @throws Exception
+     */    
+    public boolean runBatch(RequestContext requestContext, Map resultMap) throws AJAXException;
     
     /**
      * Checks to see if the current subject has access to to execute this action.



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org