Lior Vernia has uploaded a new change for review.

Change subject: webadmin: Added overload for Frontend.runMultipleAction()
......................................................................

webadmin: Added overload for Frontend.runMultipleAction()

This overload doesn't allows to pass a callback, but doesn't force to
pass state (where often the one that does is invoked with null).

Change-Id: I18f4cf8b5a1fac4ea7bcf41c88a8ada55b81705d
Signed-off-by: Lior Vernia <lver...@redhat.com>
---
M 
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/Frontend.java
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/04/22904/1

diff --git 
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/Frontend.java
 
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/Frontend.java
index aff764e..5aa127f 100644
--- 
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/Frontend.java
+++ 
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/Frontend.java
@@ -495,6 +495,17 @@
     }
 
     /**
+     * RunMultipleActions without passing state.
+     * @param actionType The type of action to perform.
+     * @param parameters The parameters of the action.
+     */
+    public void runMultipleAction(final VdcActionType actionType,
+            final ArrayList<VdcActionParametersBase> parameters,
+            final IFrontendMultipleActionAsyncCallback callback) {
+        runMultipleAction(actionType, parameters, callback, null);
+    }
+
+    /**
      * RunMultipleActions without passing in a callback or state.
      * @param actionType The type of action to perform.
      * @param parameters The parameters of the action.


-- 
To view, visit http://gerrit.ovirt.org/22904
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18f4cf8b5a1fac4ea7bcf41c88a8ada55b81705d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <lver...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to