public abstract class AbstractUICommand extends Object implements UICommand
| Constructor and Description |
|---|
AbstractUICommand() |
| Modifier and Type | Method and Description |
|---|---|
UICommandMetadata |
getMetadata(UIContext context) |
boolean |
isEnabled(UIContext context)
Called before initializing the UI to check if it's available for execution
|
void |
validate(UIValidationContext validator)
Validate the current
UICommand. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, initializeUIpublic boolean isEnabled(UIContext context)
UICommandpublic UICommandMetadata getMetadata(UIContext context)
getMetadata in interface UICommandcontext - the UIContext provided by the UI implementation, never nullpublic void validate(UIValidationContext validator)
UICommandUICommand.Copyright © 2015 JBoss by Red Hat. All rights reserved.