|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Action in net.customware.gwt.dispatch.client |
|---|
| Methods in net.customware.gwt.dispatch.client with type parameters of type Action | ||
|---|---|---|
|
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 Action in net.customware.gwt.dispatch.client.secure |
|---|
| Methods in net.customware.gwt.dispatch.client.secure with type parameters of type Action | ||
|---|---|---|
|
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 with parameters of type Action | |
|---|---|
Result |
SecureDispatchService.execute(String sessionId,
Action<?> action)
|
void |
SecureDispatchServiceAsync.execute(String sessionId,
Action<?> action,
com.google.gwt.user.client.rpc.AsyncCallback<Result> callback)
|
| Uses of Action in net.customware.gwt.dispatch.client.standard |
|---|
| Methods in net.customware.gwt.dispatch.client.standard with type parameters of type Action | ||
|---|---|---|
|
StandardDispatchAsync.execute(A action,
com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
|
|
| Methods in net.customware.gwt.dispatch.client.standard with parameters of type Action | |
|---|---|
Result |
StandardDispatchService.execute(Action<?> action)
|
void |
StandardDispatchServiceAsync.execute(Action<?> action,
com.google.gwt.user.client.rpc.AsyncCallback<Result> callback)
Executes the specified action. |
| Uses of Action in net.customware.gwt.dispatch.server |
|---|
| Classes in net.customware.gwt.dispatch.server with type parameters of type Action | |
|---|---|
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 Action | ||
|---|---|---|
|
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 Action in net.customware.gwt.dispatch.server.guice |
|---|
| Classes in net.customware.gwt.dispatch.server.guice with type parameters of type Action | |
|---|---|
interface |
ActionHandlerMap<A extends Action<R>,R extends Result>
|
| Methods in net.customware.gwt.dispatch.server.guice with type parameters of type Action | ||
|---|---|---|
protected
|
ActionHandlerModule.bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
Call this method to binds the specified ActionHandler instance
class. |
|
| Uses of Action in net.customware.gwt.dispatch.server.secure |
|---|
| Methods in net.customware.gwt.dispatch.server.secure with parameters of type Action | |
|---|---|
Result |
AbstractSecureDispatchServlet.execute(String sessionId,
Action<?> action)
|
| Uses of Action in net.customware.gwt.dispatch.server.standard |
|---|
| Methods in net.customware.gwt.dispatch.server.standard with parameters of type Action | |
|---|---|
Result |
AbstractStandardDispatchServlet.execute(Action<?> action)
|
| Uses of Action in net.customware.gwt.dispatch.shared |
|---|
| Classes in net.customware.gwt.dispatch.shared that implement Action | |
|---|---|
class |
BatchAction
This provides a simple way to send multiple actions to be executed in sequence. |
| Methods in net.customware.gwt.dispatch.shared that return Action | |
|---|---|
Action<?>[] |
BatchAction.getActions()
The list of actions to execute. |
| Constructors in net.customware.gwt.dispatch.shared with parameters of type Action | |
|---|---|
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 parameters in net.customware.gwt.dispatch.shared with type arguments of type Action | |
|---|---|
UnsupportedActionException(Class<? extends Action<? extends Result>> actionClass)
|
|
| Uses of Action in net.customware.gwt.dispatch.shared.secure |
|---|
| Classes in net.customware.gwt.dispatch.shared.secure that implement Action | |
|---|---|
class |
SimpleAuthenticationAction
A simple username/password authentication request. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||