@Dependent public class CanvasCommandManagerImpl<H extends AbstractCanvasHandler> extends DelegateCommandManager<H,CanvasViolation> implements CanvasCommandManager<H>, HasCommandListener<CommandListener<H,CanvasViolation>>
CanvasCommand and throw different context events.| Modifier | Constructor and Description |
|---|---|
protected |
CanvasCommandManagerImpl() |
|
CanvasCommandManagerImpl(javax.enterprise.event.Event<CanvasCommandAllowedEvent> isCanvasCommandAllowedEvent,
javax.enterprise.event.Event<CanvasCommandExecutedEvent> canvasCommandExecutedEvent,
javax.enterprise.event.Event<CanvasUndoCommandExecutedEvent> canvasUndoCommandExecutedEvent) |
| Modifier and Type | Method and Description |
|---|---|
protected CommandManager<H,CanvasViolation> |
getDelegate() |
protected void |
postAllow(H context,
Command<H,CanvasViolation> command,
CommandResult<CanvasViolation> result) |
protected void |
postExecute(H context,
Command<H,CanvasViolation> command,
CommandResult<CanvasViolation> result) |
protected void |
postUndo(H context,
Command<H,CanvasViolation> command,
CommandResult<CanvasViolation> result) |
void |
setCommandListener(CommandListener<H,CanvasViolation> listener) |
allow, execute, undoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallow, execute, undoprotected CanvasCommandManagerImpl()
@Inject public CanvasCommandManagerImpl(javax.enterprise.event.Event<CanvasCommandAllowedEvent> isCanvasCommandAllowedEvent, javax.enterprise.event.Event<CanvasCommandExecutedEvent> canvasCommandExecutedEvent, javax.enterprise.event.Event<CanvasUndoCommandExecutedEvent> canvasUndoCommandExecutedEvent)
protected CommandManager<H,CanvasViolation> getDelegate()
getDelegate in class DelegateCommandManager<H extends AbstractCanvasHandler,CanvasViolation>protected void postAllow(H context, Command<H,CanvasViolation> command, CommandResult<CanvasViolation> result)
postAllow in class DelegateCommandManager<H extends AbstractCanvasHandler,CanvasViolation>protected void postExecute(H context, Command<H,CanvasViolation> command, CommandResult<CanvasViolation> result)
postExecute in class DelegateCommandManager<H extends AbstractCanvasHandler,CanvasViolation>protected void postUndo(H context, Command<H,CanvasViolation> command, CommandResult<CanvasViolation> result)
postUndo in class DelegateCommandManager<H extends AbstractCanvasHandler,CanvasViolation>public void setCommandListener(CommandListener<H,CanvasViolation> listener)
setCommandListener in interface HasCommandListener<CommandListener<H extends AbstractCanvasHandler,CanvasViolation>>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.