com.gwtplatform.dispatch.client.actionhandler
Interface UndoCommand<A extends Action<R>,R extends Result>
- Type Parameters:
A
- The Action
type.R
- The Result
type.
public interface UndoCommand<A extends Action<R>,R extends Result>
The interface that ClientActionHandler
s use to send the action to
undo to the server over gwt-rpc.
- Author:
- Brendan Doherty
Method Summary |
DispatchRequest |
undo(A action,
R result,
com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
Undo an action. |
undo
DispatchRequest undo(A action,
R result,
com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
- Undo an action.
- Parameters:
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.
- Returns:
- A
DispatchRequest
object representing the gwt-rpc request,
it should never be null
.
Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.