BatchActionHandler
.@Deprecated public class BatchActionHandler extends AbstractActionHandler<BatchAction,BatchResult>
BatchAction
requests, which are a set of multiple
actions that need to all be executed successfully in sequence for the whole
action to succeed.Constructor and Description |
---|
BatchActionHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BatchResult |
execute(BatchAction action,
ExecutionContext context)
Deprecated.
Handles the specified action.
|
void |
undo(BatchAction action,
BatchResult result,
ExecutionContext context)
Deprecated.
Undoes the specified action.
|
getActionType
public BatchResult execute(BatchAction action, ExecutionContext context) throws ActionException
ActionHandler
ExecutionContext.execute(com.gwtplatform.dispatch.shared.Action)
. See here
for details.action
- The action.context
- The ExecutionContext
.Result
.ActionException
- if there is a problem performing the specified
action.public void undo(BatchAction action, BatchResult result, ExecutionContext context) throws ActionException
ActionHandler
ExecutionContext.undo(com.gwtplatform.dispatch.shared.Action,
com.gwtplatform.dispatch.shared.Result)
. See here
for details.action
- The action.result
- The result of the action.context
- The ExecutionContext
.ActionException
- if there is a problem performing the specified
action.Copyright © 2010–2014 Arcbees. All rights reserved.