WB - The WaveBean type used for this command (by default you can use the WaveBean interface)public class DefaultUndoableCommand<WB extends WaveBean> extends AbstractUndoableCommand<WB>
PROCESS_WAVE_METHOD_NAMECOMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, USE_DEFAULT_WAVE_HANDLER, 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(Wave wave)
Initialize the command internal properties to be able to undo or redo the command.
|
protected void |
initCommand() |
protected void |
redo()
Do or Redo the command.
|
protected void |
undo()
Undo the command.
|
executeisRunning, postExecute, preExecute, readyfinalize, fireConsumed, fireFailed, getRunInto, getRunnablePriority, getWaveBean, processWave, run, runattachUi, callCommand, callCommand, getReturnCommand, getReturnWaveType, listen, listen, listen, manageOnWaveAnnotation, registerCallback, registerCallback, registerCallback, returnData, sendWave, sendWave, unlistengetCommand, getFirstKeyPart, getKey, getListKeyPart, getLocalFacade, getModel, getSecondKeyPart, getService, getThirdKeyPart, release, setKey, setLocalFacadeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWaveBean, run, rungetReturnCommand, getReturnWaveType, listen, listen, listen, registerCallback, registerCallback, registerCallback, sendWave, sendWave, unlistengetKey, getLocalFacade, ready, release, setKey, setLocalFacadeattachUi, getModelgetService, returnDatacallCommand, callCommand, getCommandprotected void init(Wave wave)
init in class AbstractUndoableCommand<WB extends WaveBean>wave - the waveprotected void undo()
undo in class AbstractUndoableCommand<WB extends WaveBean>protected void redo()
redo in class AbstractUndoableCommand<WB extends WaveBean>protected void initCommand()
initCommand in class AbstractSingleCommand<WB extends WaveBean>Copyright © 2011-2014 JRebirth OSS. All Rights Reserved.