Modifier and Type | Class and Description |
---|---|
class |
RpcDispatchExecuteCall<A extends Action<R>,R extends Result>
A class representing an execute call to be sent to the server using RPC.
|
class |
RpcDispatchUndoCall<A extends Action<R>,R extends Result>
A class representing an undo call to be sent to the server using RPC.
|
Modifier and Type | Method and Description |
---|---|
<A extends Action<R>,R extends Result> |
RpcDispatchCallFactory.create(A action,
AsyncCallback<R> callback) |
<A extends Action<R>,R extends Result> |
DefaultRpcDispatchCallFactory.create(A action,
AsyncCallback<R> callback) |
<A extends Action<R>,R extends Result> |
RpcDispatchCallFactory.create(A action,
R result,
AsyncCallback<Void> callback) |
<A extends Action<R>,R extends Result> |
DefaultRpcDispatchCallFactory.create(A action,
R result,
AsyncCallback<Void> callback) |
<A extends Action<R>,R extends Result> |
RpcDispatchAsync.execute(A action,
AsyncCallback<R> callback) |
protected <A extends Action<R>,R extends Result> |
RpcDispatchAsync.prepareExecute(A action) |
protected <A extends Action<R>,R extends Result> |
RpcDispatchAsync.prepareUndo(A action) |
<A extends Action<R>,R extends Result> |
RpcDispatchAsync.undo(A action,
R result,
AsyncCallback<Void> callback) |
Modifier and Type | Method and Description |
---|---|
<A extends Action<R>,R extends Result> |
ExecutionContext.execute(A action)
Executes an action in the current context.
|
<A extends Action<R>,R extends Result> |
Dispatch.execute(A action)
Executes the specified action and returns the appropriate result.
|
<A extends Action<R>,R extends Result> |
AbstractDispatchImpl.execute(A action) |
<A extends Action<R>,R extends Result> |
ExecutionContext.undo(A action,
R result)
Undoes an action in the current context.
|
<A extends Action<R>,R extends Result> |
Dispatch.undo(A action,
R result)
Undoes a previously executed action.
|
<A extends Action<R>,R extends Result> |
AbstractDispatchImpl.undo(A action,
R result) |
Modifier and Type | Method and Description |
---|---|
Result |
AbstractDispatchServiceImpl.execute(String cookieSentByRPC,
Action<?> action)
ActionException and ServiceException will have their stacktraces (and stacktraces of their
causes) removed for security purposes. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDispatchServiceImpl.undo(String cookieSentByRPC,
Action<Result> action,
Result result) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDispatchServiceImpl.undo(String cookieSentByRPC,
Action<Result> action,
Result result) |
Modifier and Type | Class and Description |
---|---|
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>
|
Modifier and Type | Class and Description |
---|---|
class |
ActionHandlerValidatorClass<A extends Action<R>,R extends Result>
Convenience class to store
ActionHandler and ActionValidator class definitions. |
interface |
ActionHandlerValidatorMap<A extends Action<R>,R extends Result>
This is the interface that define the map of
ActionHandlerValidatorInstance . |
class |
ActionHandlerValidatorMapImpl<A extends Action<R>,R extends Result>
|
Modifier and Type | Method and Description |
---|---|
<A extends Action<R>,R extends Result> |
EagerActionHandlerValidatorRegistry.addActionHandlerValidator(Class<A> actionClass,
ActionHandlerValidatorInstance actionHandlerValidatorInstance) |
<A extends Action<R>,R extends Result> |
AbstractEagerActionHandlerValidatorRegistryImpl.addActionHandlerValidator(Class<A> actionClass,
ActionHandlerValidatorInstance actionHandlerValidatorInstance) |
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistry.addActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass)
Registers the specified
ActionValidator
class with the registry. |
<A extends Action<R>,R extends Result> |
ActionHandlerValidatorRegistry.findActionHandlerValidator(A action)
Searches the registry and returns the
ActionValidator which supports the specified Action ,
or null if none is available. |
<A extends Action<R>,R extends Result> |
AbstractEagerActionHandlerValidatorRegistryImpl.findActionHandlerValidator(A action) |
<A extends Action<R>,R extends Result> |
EagerActionHandlerValidatorRegistry.removeActionHandlerValidator(Class<A> actionClass) |
<A extends Action<R>,R extends Result> |
AbstractEagerActionHandlerValidatorRegistryImpl.removeActionHandlerValidator(Class<A> actionClass) |
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistry.removeActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass)
Removes any registration of specified class, as well as any instances which have been created.
|
Modifier and Type | Method and Description |
---|---|
ActionHandler<? extends Action<?>,? extends Result> |
ActionHandlerValidatorInstance.getActionHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
ActionValidator.isValid(Action<? extends Result> action)
Validate whether or not that
Action can be executed at this time. |
boolean |
AbstractDefaultActionValidator.isValid(Action<? extends Result> action) |
Modifier and Type | Method and Description |
---|---|
protected <A extends Action<R>,R extends Result> |
HandlerModule.bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass) |
protected <A extends Action<R>,R extends Result> |
HandlerModule.bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass,
Class<? extends ActionValidator> actionValidator) |
Modifier and Type | Method and Description |
---|---|
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistryImpl.addActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass) |
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistryImpl.findActionHandlerValidator(A action) |
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistryImpl.removeActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass) |
Modifier and Type | Method and Description |
---|---|
protected <A extends Action<R>,R extends Result> |
HandlerModule.bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass) |
protected <A extends Action<R>,R extends Result> |
HandlerModule.bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass,
Class<? extends ActionValidator> actionValidator) |
Modifier and Type | Method and Description |
---|---|
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistryImpl.addActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass) |
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistryImpl.findActionHandlerValidator(A action) |
<A extends Action<R>,R extends Result> |
LazyActionHandlerValidatorRegistryImpl.removeActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass) |
Modifier and Type | Interface and Description |
---|---|
interface |
Action<R extends Result>
An action represents a command sent to the
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 | 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 |
---|---|
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 |
---|---|
Request |
DispatchServiceAsync.undo(String cookieSentByRPC,
Action<?> action,
Result 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.
|
Modifier and Type | Method and Description |
---|---|
Request |
DispatchServiceAsync.execute(String cookieSentByRPC,
Action<?> action,
AsyncCallback<Result> callback)
This method is called client-side whenever a new action is executed.
|
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) |
Modifier and Type | Method and Description |
---|---|
protected <A extends Action<R>,R extends Result,H extends ActionHandler<A,R>> |
MockHandlerModule.bindMockActionHandler(Class<H> handlerClass,
H mockHandler)
Registers a mock server-side action handlers.
|
protected <A extends Action<R>,R extends Result,H extends AbstractClientActionHandler<A,R>> |
MockHandlerModule.bindMockClientActionHandler(Class<A> actionClass,
H mockHandler)
Registers a mock client-side action handlers.
|
protected <A extends Action<R>,R extends Result,H extends ActionHandler<A,R>> |
MockHandlerModule.bindMockHandler(Class<H> handler,
H mockHandler)
Deprecated.
|
<A extends Action<R>,R extends Result> |
TestDispatchAsync.execute(A action,
AsyncCallback<R> callback) |
<A extends Action<R>,R extends Result> |
TestDispatchAsync.undo(A action,
R result,
AsyncCallback<Void> callback) |
Modifier and Type | Method and Description |
---|---|
Result |
TestDispatchService.execute(String cookieSentByRPC,
Action<?> action) |
Modifier and Type | Method and Description |
---|---|
void |
TestDispatchService.undo(String cookieSentByRPC,
Action<Result> action,
Result result) |
Modifier and Type | Method and Description |
---|---|
void |
TestDispatchService.undo(String cookieSentByRPC,
Action<Result> action,
Result result) |
Copyright © 2010-2014 ArcBees. All Rights Reserved.