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, wait
execute, initializeUI
public boolean isEnabled(UIContext context)
UICommand
public UICommandMetadata getMetadata(UIContext context)
getMetadata
in interface UICommand
context
- the UIContext
provided by the UI implementation, never nullpublic void validate(UIValidationContext validator)
UICommand
UICommand
.Copyright © 2016 JBoss by Red Hat. All rights reserved.