GWTP Dispatch client 0.6-redhat-1

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 ClientActionHandlers 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.
 

Method Detail

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.

GWTP Dispatch client 0.6-redhat-1

Copyright © 2010-2012 ArcBees. All Rights Reserved.