
A - The action type.R - The result type.public interface UndoCommand<A,R>
ClientActionHandlers use to send the action to undo to the server.| Modifier and Type | Method and Description |
|---|---|
DispatchRequest |
undo(A action,
R result,
AsyncCallback<Void> callback)
Undo an action.
|
DispatchRequest undo(A action, R result, AsyncCallback<Void> callback)
action - The action to undo.result - The result of the action to undo.callback - A callback that will be invoked once the action has been undone, successfully or not.DispatchRequest object representing the request, it should never be null.Copyright © 2010-2014 ArcBees. All Rights Reserved.