| Package | Description |
|---|---|
| com.gwtplatform.dispatch.rpc.shared |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Action<R extends Result>
An action represents a command sent to the
com.gwtplatform.dispatch.rpc.server.Dispatch. |
class |
ActionImpl<R extends Result>
Default Action using the base path as dispatch/className.
|
class |
UnsecuredActionImpl<R extends Result>
Default Action using the base path as dispatch/className.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSimpleResult<T>
A common use-case is returning a single value from an action.
|
class |
AbstractUpdateResult<T>
Provides support for simple update response which contain both the old value and new value.
|
class |
BatchResult
Contains the list of
Results from successful actions in the BatchAction. |
class |
MultipleResult<T>
A common use-case is returning a list value from an action.
|
class |
NoResult
A common use-case is returning nothing from an action.
|
class |
SimpleResult<T>
A common use-case is returning a single value from an action.
|
| 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.
|
<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.
|
<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.
|
<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.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
List<Result> |
BatchResult.getResults() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|
BatchResult(List<Result> results)
Creates a new result with the list of results from the batch action, in order.
|
UnsupportedActionException(Action<? extends Result> action) |
UnsupportedActionException(Class<? extends Action<? extends Result>> actionClass) |
Copyright © 2010–2015 Arcbees. All rights reserved.