| Package | Description |
|---|---|
| com.gwtplatform.dispatch.rpc.shared |
| Modifier and Type | Class and Description |
|---|---|
class |
ActionImpl<R extends Result>
Default Action using the base path as dispatch/className.
|
class |
BatchAction
This provides a simple way to send multiple actions to be executed in sequence.
|
class |
UnsecuredActionImpl<R extends Result>
Default Action using the base path as dispatch/className.
|
| Modifier and Type | Method and Description |
|---|---|
<A extends Action<R>,R extends Result> |
DispatchAsync.execute(A action,
AsyncCallback<R> callback)
This method is called client-side whenever a new action is executed.
|
<A extends Action<R>,R extends Result> |
DispatchAsync.undo(A action,
R result,
AsyncCallback<Void> callback)
This method is called client-side whenever a previous executed action need to be undone.
|
| Modifier and Type | Method and Description |
|---|---|
Action<?>[] |
BatchAction.getActions()
The list of actions to execute.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
DispatchService.execute(String cookieSentByRPC,
Action<?> action)
This method is called server-side whenever a new action is dispatched.
|
<R extends Result> |
DispatchServiceAsync.execute(String cookieSentByRPC,
Action<R> action,
AsyncCallback<R> callback)
This method is called client-side whenever a new action is executed.
|
<R extends Result> |
DispatchServiceAsync.undo(String cookieSentByRPC,
Action<R> action,
R result,
AsyncCallback<Void> callback)
This method is called client-side whenever a previous executed action need to be undone.
|
void |
DispatchService.undo(String cookieSentByRPC,
Action<Result> action,
Result result)
This method is called server-side whenever a previously executed action needs to be undone.
|
| Constructor and Description |
|---|
BatchAction(BatchAction.OnException onException,
Action<?>... actions)
Constructs a new batch action, which will attempt to execute the provided list of actions in order.
|
UnsupportedActionException(Action<? extends Result> action) |
| Constructor and Description |
|---|
UnsupportedActionException(Class<? extends Action<? extends Result>> actionClass) |
Copyright © 2010–2015 Arcbees. All rights reserved.