A B C D E F G H L N R S U V

A

AbstractActionHandler<A extends Action<R>,R extends Result> - Class in net.customware.gwt.dispatch.server
Simple abstract super-class for ActionHandler implementations that forces the Action class to be passed in as a constructor to the handler.
AbstractActionHandler(Class<A>) - Constructor for class net.customware.gwt.dispatch.server.AbstractActionHandler
 
AbstractSimpleResult<T> - Class in net.customware.gwt.dispatch.shared
A common use-case is returning a single value from an action.
AbstractSimpleResult() - Constructor for class net.customware.gwt.dispatch.shared.AbstractSimpleResult
 
AbstractSimpleResult(T) - Constructor for class net.customware.gwt.dispatch.shared.AbstractSimpleResult
 
AbstractUpdateResult<T> - Class in net.customware.gwt.dispatch.shared
Provides support for simple update response which contain both the old value and new value.
AbstractUpdateResult() - Constructor for class net.customware.gwt.dispatch.shared.AbstractUpdateResult
For serialization support only.
AbstractUpdateResult(T, T) - Constructor for class net.customware.gwt.dispatch.shared.AbstractUpdateResult
 
Action<R extends Result> - Interface in net.customware.gwt.dispatch.shared
An action represents a command sent to the Dispatch.
ActionException - Exception in net.customware.gwt.dispatch.shared
These are thrown by Dispatch.execute(Action) if there is a problem executing a particular Action.
ActionException() - Constructor for exception net.customware.gwt.dispatch.shared.ActionException
 
ActionException(String) - Constructor for exception net.customware.gwt.dispatch.shared.ActionException
 
ActionException(Throwable) - Constructor for exception net.customware.gwt.dispatch.shared.ActionException
 
ActionException(String, Throwable) - Constructor for exception net.customware.gwt.dispatch.shared.ActionException
 
ActionHandler<A extends Action<R>,R extends Result> - Interface in net.customware.gwt.dispatch.server
Instances of this interface will handle specific types of Action classes.
ActionHandlerLinker - Class in net.customware.gwt.dispatch.server.guice
This class links any registered ActionHandler instances with the default ActionHandlerRegistry.
ActionHandlerModule - Class in net.customware.gwt.dispatch.server.guice
This is an abstract base class that configures Guice to inject Dispatch and ActionHandler instances.
ActionHandlerModule() - Constructor for class net.customware.gwt.dispatch.server.guice.ActionHandlerModule
 
ActionHandlerRegistry - Interface in net.customware.gwt.dispatch.server
 
ActionResult<A extends Action<R>,R extends Result> - Class in net.customware.gwt.dispatch.server
This contains both the original Action and the Result of that action.
ActionResult(A, R) - Constructor for class net.customware.gwt.dispatch.server.ActionResult
 
addHandler(ActionHandler<?, ?>) - Method in interface net.customware.gwt.dispatch.server.ActionHandlerRegistry
Adds the specified ActionHandler to the registry.
addHandler(ActionHandler<?, ?>) - Method in class net.customware.gwt.dispatch.server.DefaultActionHandlerRegistry
 

B

BatchAction - Class in net.customware.gwt.dispatch.shared
This provides a simple way to send multiple actions to be executed in sequence.
BatchAction(BatchAction.OnException, Action<?>...) - Constructor for class net.customware.gwt.dispatch.shared.BatchAction
 
BatchAction.OnException - Enum in net.customware.gwt.dispatch.shared
 
BatchActionHandler - Class in net.customware.gwt.dispatch.server
This handles BatchAction requests, which are a set of multiple actions that need to all be executed successfully in sequence for the whole action to succeed.
BatchActionHandler() - Constructor for class net.customware.gwt.dispatch.server.BatchActionHandler
 
BatchResult - Class in net.customware.gwt.dispatch.shared
Contains the list of Results from successful actions in the BatchAction.
BatchResult(List<Result>) - Constructor for class net.customware.gwt.dispatch.shared.BatchResult
 
bindHandler(Class<? extends ActionHandler<?, ?>>) - Method in class net.customware.gwt.dispatch.server.guice.ActionHandlerModule
Binds the specified ActionHandler instance class.

C

clearHandlers() - Method in interface net.customware.gwt.dispatch.server.ActionHandlerRegistry
Clears all registered handlers from the registry.
clearHandlers() - Method in class net.customware.gwt.dispatch.server.DefaultActionHandlerRegistry
 
ClientDispatchModule - Class in net.customware.gwt.dispatch.client.gin
This module binds the DispatchAsync to DefaultDispatchAsync.
ClientDispatchModule() - Constructor for class net.customware.gwt.dispatch.client.gin.ClientDispatchModule
 
configure() - Method in class net.customware.gwt.dispatch.client.gin.ClientDispatchModule
 
configure() - Method in class net.customware.gwt.dispatch.server.guice.ActionHandlerModule
 
configure() - Method in class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
 
configureHandlers() - Method in class net.customware.gwt.dispatch.server.guice.ActionHandlerModule
Override this method to configure handlers.

D

DefaultActionHandlerRegistry - Class in net.customware.gwt.dispatch.server
 
DefaultActionHandlerRegistry() - Constructor for class net.customware.gwt.dispatch.server.DefaultActionHandlerRegistry
 
DefaultDispatch - Class in net.customware.gwt.dispatch.server
 
DefaultDispatch(ActionHandlerRegistry) - Constructor for class net.customware.gwt.dispatch.server.DefaultDispatch
 
DefaultDispatchAsync - Class in net.customware.gwt.dispatch.client
This class is the default implementation of DispatchAsync, which is essentially the client-side access to the Dispatch class on the server-side.
DefaultDispatchAsync() - Constructor for class net.customware.gwt.dispatch.client.DefaultDispatchAsync
 
Dispatch - Interface in net.customware.gwt.dispatch.server
 
DispatchAsync - Interface in net.customware.gwt.dispatch.client
This is an asynchronous equivalent of the Dispatch interface on the server side.
DispatchService - Interface in net.customware.gwt.dispatch.client.service
There currently seem to be GWT compliation problems with services that use generic templates in method parameters.
DispatchServiceAsync - Interface in net.customware.gwt.dispatch.client.service
 
DispatchServiceServlet - Class in net.customware.gwt.dispatch.server.service
 
DispatchServiceServlet(Dispatch) - Constructor for class net.customware.gwt.dispatch.server.service.DispatchServiceServlet
 

E

equals(Object) - Method in class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
Override so that only one instance of this class will ever be installed in an Injector.
execute(A, AsyncCallback<R>) - Method in class net.customware.gwt.dispatch.client.DefaultDispatchAsync
 
execute(A, AsyncCallback<R>) - Method in interface net.customware.gwt.dispatch.client.DispatchAsync
 
execute(Action<?>) - Method in interface net.customware.gwt.dispatch.client.service.DispatchService
 
execute(Action<?>, AsyncCallback<Result>) - Method in interface net.customware.gwt.dispatch.client.service.DispatchServiceAsync
GWT-RPC service asynchronous (client-side) interface
execute(A, ExecutionContext) - Method in interface net.customware.gwt.dispatch.server.ActionHandler
Handles the specified action.
execute(BatchAction, ExecutionContext) - Method in class net.customware.gwt.dispatch.server.BatchActionHandler
 
execute(A) - Method in class net.customware.gwt.dispatch.server.DefaultDispatch
 
execute(A) - Method in interface net.customware.gwt.dispatch.server.Dispatch
Executes the specified action and returns the appropriate result.
execute(A, boolean) - Method in interface net.customware.gwt.dispatch.server.ExecutionContext
Executes an action in the current context.
execute(A) - Method in interface net.customware.gwt.dispatch.server.ExecutionContext
Executes an action in the current context.
execute(Action<?>) - Method in class net.customware.gwt.dispatch.server.service.DispatchServiceServlet
 
ExecutionContext - Interface in net.customware.gwt.dispatch.server
ExecutionContext instances are passed to ActionHandlers, and allows them to execute sub-actions.

F

findHandler(A) - Method in interface net.customware.gwt.dispatch.server.ActionHandlerRegistry
Searches the registry and returns the first handler which supports the specied action, or null if none is available.
findHandler(A) - Method in class net.customware.gwt.dispatch.server.DefaultActionHandlerRegistry
 

G

get() - Method in class net.customware.gwt.dispatch.shared.AbstractSimpleResult
 
getAction() - Method in class net.customware.gwt.dispatch.server.ActionResult
 
getActionHandlerRegistryClass() - Method in class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
The class returned by this method is bound to the ActionHandlerRegistry.
getActions() - Method in class net.customware.gwt.dispatch.shared.BatchAction
The list of actions to execute.
getActionType() - Method in class net.customware.gwt.dispatch.server.AbstractActionHandler
 
getActionType() - Method in interface net.customware.gwt.dispatch.server.ActionHandler
 
getDispatchClass() - Method in class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
The class returned by this method is bound to the Dispatch service.
getNew() - Method in class net.customware.gwt.dispatch.shared.AbstractUpdateResult
The new/current value.
getOld() - Method in class net.customware.gwt.dispatch.shared.AbstractUpdateResult
The previous value.
getOnException() - Method in class net.customware.gwt.dispatch.shared.BatchAction
The expected behaviour if any of the sub-actions throw an exception.
getResult() - Method in class net.customware.gwt.dispatch.server.ActionResult
 
getResults() - Method in class net.customware.gwt.dispatch.shared.BatchResult
 

H

hashCode() - Method in class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
Override so that only one instance of this class will ever be installed in an Injector.

L

linkHandlers(Injector, ActionHandlerRegistry) - Static method in class net.customware.gwt.dispatch.server.guice.ActionHandlerLinker
 

N

net.customware.gwt.dispatch.client - package net.customware.gwt.dispatch.client
 
net.customware.gwt.dispatch.client.gin - package net.customware.gwt.dispatch.client.gin
 
net.customware.gwt.dispatch.client.service - package net.customware.gwt.dispatch.client.service
 
net.customware.gwt.dispatch.server - package net.customware.gwt.dispatch.server
 
net.customware.gwt.dispatch.server.guice - package net.customware.gwt.dispatch.server.guice
 
net.customware.gwt.dispatch.server.service - package net.customware.gwt.dispatch.server.service
 
net.customware.gwt.dispatch.shared - package net.customware.gwt.dispatch.shared
 

R

removeHandler(ActionHandler<?, ?>) - Method in interface net.customware.gwt.dispatch.server.ActionHandlerRegistry
Removes the specified handler.
removeHandler(ActionHandler<?, ?>) - Method in class net.customware.gwt.dispatch.server.DefaultActionHandlerRegistry
 
Result - Interface in net.customware.gwt.dispatch.shared
A marker interface for Action results.
rollback(A, R, ExecutionContext) - Method in interface net.customware.gwt.dispatch.server.ActionHandler
Attempts to roll back the specified action.
rollback(BatchAction, BatchResult, ExecutionContext) - Method in class net.customware.gwt.dispatch.server.BatchActionHandler
 

S

ServerDispatchModule - Class in net.customware.gwt.dispatch.server.guice
This module will configure the implementation for the Dispatch and ActionHandlerRegistry interfaces.
ServerDispatchModule() - Constructor for class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
 
ServerDispatchModule(Class<? extends Dispatch>) - Constructor for class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
 
ServerDispatchModule(Class<? extends Dispatch>, Class<? extends ActionHandlerRegistry>) - Constructor for class net.customware.gwt.dispatch.server.guice.ServerDispatchModule
 

U

UnsupportedActionException - Exception in net.customware.gwt.dispatch.shared
 
UnsupportedActionException(Action<? extends Result>) - Constructor for exception net.customware.gwt.dispatch.shared.UnsupportedActionException
 
UnsupportedActionException(Class<? extends Action<? extends Result>>) - Constructor for exception net.customware.gwt.dispatch.shared.UnsupportedActionException
 

V

valueOf(String) - Static method in enum net.customware.gwt.dispatch.shared.BatchAction.OnException
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.customware.gwt.dispatch.shared.BatchAction.OnException
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H L N R S U V

Copyright © 2009 customware.net. All Rights Reserved.