|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Result in net.customware.gwt.dispatch.client |
|---|
| Methods in net.customware.gwt.dispatch.client with type parameters of type Result | ||
|---|---|---|
|
DispatchAsync.execute(A action,
com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
|
|
protected
|
AbstractDispatchAsync.onFailure(A action,
Throwable caught,
com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
|
|
protected
|
AbstractDispatchAsync.onSuccess(A action,
R result,
com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
|
|
| Uses of Result in net.customware.gwt.dispatch.client.secure |
|---|
| Methods in net.customware.gwt.dispatch.client.secure with type parameters of type Result | ||
|---|---|---|
|
SecureDispatchAsync.execute(A action,
com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
|
|
protected
|
SecureDispatchAsync.onFailure(A action,
Throwable caught,
com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
|
|
| Methods in net.customware.gwt.dispatch.client.secure that return Result | |
|---|---|
Result |
SecureDispatchService.execute(String sessionId,
Action<?> action)
|
| Method parameters in net.customware.gwt.dispatch.client.secure with type arguments of type Result | |
|---|---|
void |
SecureDispatchServiceAsync.execute(String sessionId,
Action<?> action,
com.google.gwt.user.client.rpc.AsyncCallback<Result> callback)
|
| Uses of Result in net.customware.gwt.dispatch.client.standard |
|---|
| Methods in net.customware.gwt.dispatch.client.standard with type parameters of type Result | ||
|---|---|---|
|
StandardDispatchAsync.execute(A action,
com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
|
|
| Methods in net.customware.gwt.dispatch.client.standard that return Result | |
|---|---|
Result |
StandardDispatchService.execute(Action<?> action)
|
| Method parameters in net.customware.gwt.dispatch.client.standard with type arguments of type Result | |
|---|---|
void |
StandardDispatchServiceAsync.execute(Action<?> action,
com.google.gwt.user.client.rpc.AsyncCallback<Result> callback)
Executes the specified action. |
| Uses of Result in net.customware.gwt.dispatch.server |
|---|
| Classes in net.customware.gwt.dispatch.server with type parameters of type Result | |
|---|---|
class |
AbstractActionHandler<A extends Action<R>,R extends Result>
Simple abstract super-class for ActionHandler implementations that
forces the Action class to be passed in as a constructor to the
handler. |
interface |
ActionHandler<A extends Action<R>,R extends Result>
Instances of this interface will handle specific types of Action
classes. |
class |
ActionResult<A extends Action<R>,R extends Result>
This contains both the original Action and the Result of that
action. |
class |
SimpleActionHandler<A extends Action<R>,R extends Result>
The SimpleActionHandler is a base implementation which allows for only the ActionHandler.execute(Action, ExecutionContext)
method to be implemented. |
| Methods in net.customware.gwt.dispatch.server with type parameters of type Result | ||
|---|---|---|
|
LazyActionHandlerRegistry.addHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
|
|
|
ClassActionHandlerRegistry.addHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
Registers the specified ActionHandler class with the registry. |
|
|
ExecutionContext.execute(A action)
Executes an action in the current context. |
|
|
Dispatch.execute(A action)
Executes the specified action and returns the appropriate result. |
|
|
AbstractDispatch.execute(A action)
|
|
|
ExecutionContext.execute(A action,
boolean allowRollback)
Executes an action in the current context. |
|
protected
|
AbstractDispatch.executed(A action,
R result,
ActionHandler<A,R> handler,
ExecutionContext ctx)
Method invoked after the specified action has been succesfully executed with the specified handler. |
|
protected
|
AbstractDispatch.executing(A action,
ActionHandler<A,R> handler,
ExecutionContext ctx)
Method invoked before executing the specified action with the specified handler. |
|
protected
|
AbstractDispatch.failed(A action,
Throwable e,
ActionHandler<A,R> handler,
ExecutionContext ctx)
Method invoked after the specified action has been unsuccesfully executed with the specified handler. |
|
|
LazyActionHandlerRegistry.findHandler(A action)
|
|
|
DefaultActionHandlerRegistry.findHandler(A action)
|
|
|
ActionHandlerRegistry.findHandler(A action)
Searches the registry and returns the first handler which supports the specied action, or null if none is available. |
|
|
LazyActionHandlerRegistry.removeHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
|
|
|
ClassActionHandlerRegistry.removeHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
Removes any registration of the specified class, as well as any instances which have been created. |
|
| Uses of Result in net.customware.gwt.dispatch.server.guice |
|---|
| Classes in net.customware.gwt.dispatch.server.guice with type parameters of type Result | |
|---|---|
interface |
ActionHandlerMap<A extends Action<R>,R extends Result>
|
| Methods in net.customware.gwt.dispatch.server.guice with type parameters of type Result | ||
|---|---|---|
protected
|
ActionHandlerModule.bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
Call this method to binds the specified ActionHandler instance
class. |
|
| Uses of Result in net.customware.gwt.dispatch.server.secure |
|---|
| Methods in net.customware.gwt.dispatch.server.secure that return Result | |
|---|---|
Result |
AbstractSecureDispatchServlet.execute(String sessionId,
Action<?> action)
|
| Uses of Result in net.customware.gwt.dispatch.server.standard |
|---|
| Methods in net.customware.gwt.dispatch.server.standard that return Result | |
|---|---|
Result |
AbstractStandardDispatchServlet.execute(Action<?> action)
|
| Uses of Result in net.customware.gwt.dispatch.shared |
|---|
| Classes in net.customware.gwt.dispatch.shared with type parameters of type Result | |
|---|---|
interface |
Action<R extends Result>
An action represents a command sent to the Dispatch. |
| Classes in net.customware.gwt.dispatch.shared that implement Result | |
|---|---|
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. |
| Methods in net.customware.gwt.dispatch.shared with type parameters of type Result | ||
|---|---|---|
|
BatchResult.getResult(int i,
Class<T> type)
Returns the result only if the value at the specified index is of the specified type. |
|
| Methods in net.customware.gwt.dispatch.shared that return Result | |
|---|---|
Result |
BatchResult.getResult(int i)
Returns the result for the specified index. |
| Methods in net.customware.gwt.dispatch.shared that return types with arguments of type Result | |
|---|---|
List<Result> |
BatchResult.getResults()
The list of results. |
Iterator<Result> |
BatchResult.iterator()
|
| Constructor parameters in net.customware.gwt.dispatch.shared with type arguments of type Result | |
|---|---|
BatchResult(List<Result> results,
List<DispatchException> exceptions)
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)
|
|
| Uses of Result in net.customware.gwt.dispatch.shared.general |
|---|
| Classes in net.customware.gwt.dispatch.shared.general that implement Result | |
|---|---|
class |
StringResult
A simple String result. |
class |
StringUpdateResult
A simple String update result. |
| Uses of Result in net.customware.gwt.dispatch.shared.secure |
|---|
| Classes in net.customware.gwt.dispatch.shared.secure that implement Result | |
|---|---|
class |
SecureSessionResult
Contains a valid secure session id. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||