WB - The WaveBean type used for this command (by default you can use the WaveBean interface)public class DefaultUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean> extends AbstractUndoableCommand<WB>
runIntoThread, runnablePriorityinnerComponentMap, PROCESS_WAVE_METHOD_NAME, rootComponentADD_BEHAVIOR, CALL_ANNOTATED_METHOD_ERROR, COMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, COMPONENT_INJECTION_FAILURE, COMPONENT_RELEASE_ERROR, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, NOTIFIER_HANDLES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, WAVE_BEAN_CREATION_ERROR, WAVE_DISPATCH_ERROR, WAVE_HANDLING_ERROR, WAVE_LOST, WAVE_LOST_CONTEXT, WAVE_SENDING_ERROR| Constructor and Description |
|---|
DefaultUndoableCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init(org.jrebirth.af.api.wave.Wave wave)
Initialize the command internal properties to be able to undo or redo the command.
|
protected void |
initCommand() |
protected void |
initInnerComponents() |
protected void |
redo()
Do or Redo the command.
|
protected void |
undo()
Undo the command.
|
performafterPerform, beforePerform, isRunning, readyfinalize, fireConsumed, fireFailed, fireHandled, getRunInto, getRunnablePriority, getWaveBean, processWave, run, runaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior, manageOptionalDataaddInnerComponent, attachUi, callCommand, callCommand, getInnerComponent, getRootComponent, initInternalInnerComponents, listen, listen, listen, release, returnData, sendWave, sendWave, sendWave, setRootComponent, setup, unlistengetCommand, getCommand, getFirstKeyPart, getKey, getKeyPart, getListKeyPart, getLocalFacade, getModel, getModel, getSecondKeyPart, getService, getService, getThirdKeyPart, setKey, setLocalFacadeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavioraddInnerComponent, getInnerComponent, getRootComponent, listen, listen, listen, sendWave, sendWave, sendWave, setRootComponent, unlistengetKey, getLocalFacade, release, setKey, setLocalFacade, setupprotected void init(org.jrebirth.af.api.wave.Wave wave)
init in class AbstractUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean>wave - the waveprotected void undo()
undo in class AbstractUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean>protected void redo()
redo in class AbstractUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean>protected void initCommand()
initCommand in class AbstractSingleCommand<WB extends org.jrebirth.af.api.wave.WaveBean>protected void initInnerComponents()
initInnerComponents in class AbstractComponent<org.jrebirth.af.api.command.Command>Copyright © 2011–2015 JRebirth OSS. All rights reserved.