A - The action type.R - The result type.public interface UndoCommand<A,R>
RpcInterceptors use to send the action to undo to the server.| Modifier and Type | Method and Description |
|---|---|
com.gwtplatform.dispatch.shared.DispatchRequest |
undo(A action,
R result,
com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
Undo an action.
|
com.gwtplatform.dispatch.shared.DispatchRequest undo(A action, R result, com.google.gwt.user.client.rpc.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–2017 Arcbees. All rights reserved.