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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to