@Deprecated public abstract class AbstractDispatchAsync extends Object implements DispatchAsync
Constructor and Description |
---|
AbstractDispatchAsync(ExceptionHandler exceptionHandler,
SecurityCookieAccessor securityCookieAccessor,
ClientActionHandlerRegistry clientActionHandlerRegistry)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract <A extends Action<R>,R extends Result> |
doExecute(String securityCookie,
A action,
AsyncCallback<R> callback)
Deprecated.
|
protected abstract <A extends Action<R>,R extends Result> |
doUndo(String securityCookie,
A action,
R result,
AsyncCallback<Void> callback)
Deprecated.
|
<A extends Action<R>,R extends Result> |
execute(A action,
AsyncCallback<R> callback)
Deprecated.
This method is called client-side whenever a new action is executed.
|
protected ClientActionHandlerRegistry |
getClientActionHandlerRegistry()
Deprecated.
|
protected ExceptionHandler |
getExceptionHandler()
Deprecated.
|
protected SecurityCookieAccessor |
getSecurityCookieAccessor()
Deprecated.
|
protected <A extends Action<R>,R extends Result> |
onExecuteFailure(A action,
Throwable caught,
AsyncCallback<R> callback)
Deprecated.
|
protected <A extends Action<R>,R extends Result> |
onExecuteSuccess(A action,
R result,
AsyncCallback<R> callback)
Deprecated.
|
protected <A extends Action<R>,R extends Result> |
onUndoFailure(A action,
Throwable caught,
AsyncCallback<Void> callback)
Deprecated.
|
protected <A extends Action<R>,R extends Result> |
onUndoSuccess(A action,
Void voidResult,
AsyncCallback<Void> callback)
Deprecated.
|
protected <A extends Action<R>,R extends Result> |
prepareExecute(A action)
Deprecated.
|
protected <A extends Action<R>,R extends Result> |
prepareUndo(A action)
Deprecated.
|
<A extends Action<R>,R extends Result> |
undo(A action,
R result,
AsyncCallback<Void> callback)
Deprecated.
This method is called client-side whenever a previous executed action need
to be undone.
|
public AbstractDispatchAsync(ExceptionHandler exceptionHandler, SecurityCookieAccessor securityCookieAccessor, ClientActionHandlerRegistry clientActionHandlerRegistry)
public <A extends Action<R>,R extends Result> DispatchRequest execute(A action, AsyncCallback<R> callback)
DispatchAsync
public <A extends Action<R>,R extends Result> DispatchRequest undo(A action, R result, AsyncCallback<Void> callback)
DispatchAsync
protected abstract <A extends Action<R>,R extends Result> DispatchRequest doExecute(String securityCookie, A action, AsyncCallback<R> callback)
protected abstract <A extends Action<R>,R extends Result> DispatchRequest doUndo(String securityCookie, A action, R result, AsyncCallback<Void> callback)
protected ClientActionHandlerRegistry getClientActionHandlerRegistry()
protected ExceptionHandler getExceptionHandler()
protected SecurityCookieAccessor getSecurityCookieAccessor()
protected <A extends Action<R>,R extends Result> void onExecuteFailure(A action, Throwable caught, AsyncCallback<R> callback)
protected <A extends Action<R>,R extends Result> void onExecuteSuccess(A action, R result, AsyncCallback<R> callback)
protected <A extends Action<R>,R extends Result> void onUndoFailure(A action, Throwable caught, AsyncCallback<Void> callback)
protected <A extends Action<R>,R extends Result> void onUndoSuccess(A action, Void voidResult, AsyncCallback<Void> callback)
protected <A extends Action<R>,R extends Result> void prepareExecute(A action)
Copyright © 2010–2014 Arcbees. All rights reserved.