public abstract class BeanHandler extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BeanHandler.HandlerTrace |
Constructor and Description |
---|
BeanHandler() |
Modifier and Type | Method and Description |
---|---|
void |
actionVoid(CommandRequest request) |
void |
addFieldError(FactoryURL property,
Exception e,
Object propertyValue) |
protected void |
afterInvokeAction(CommandRequest request,
String action) |
protected void |
beforeInvokeAction(CommandRequest request,
String action) |
protected void |
calculateActionShortcuts() |
void |
clearFieldErrors() |
String |
getActionForShortcut(String shortcut)
Get the action name for a given shortcut.
|
String |
getActionName(String actionName)
Get the action name for given action name.
|
String |
getBeanName() |
List |
getFieldErrors() |
CommandResponse |
handle(CommandRequest request,
String action) |
boolean |
hasError(String fieldName) |
boolean |
isEnabledForActionHandling() |
boolean |
isEnableDoubleClickControl() |
boolean |
isUseActionShortcuts() |
void |
setEnabledForActionHandling(boolean enabledForActionHandling) |
void |
setEnableDoubleClickControl(boolean enableDoubleClickControl) |
void |
setUseActionShortcuts(boolean useActionShortcuts) |
void |
start() |
public String getBeanName()
public boolean isUseActionShortcuts()
public void setUseActionShortcuts(boolean useActionShortcuts)
public boolean isEnableDoubleClickControl()
public void setEnableDoubleClickControl(boolean enableDoubleClickControl)
public boolean isEnabledForActionHandling()
public void setEnabledForActionHandling(boolean enabledForActionHandling)
@PostConstruct public void start()
protected void calculateActionShortcuts()
public String getActionName(String actionName)
actionName
- action namepublic String getActionForShortcut(String shortcut)
shortcut
- the possible shortcut whose action name is to be obtained.public CommandResponse handle(CommandRequest request, String action) throws Exception
Exception
protected void beforeInvokeAction(CommandRequest request, String action) throws Exception
Exception
protected void afterInvokeAction(CommandRequest request, String action) throws Exception
Exception
public void addFieldError(FactoryURL property, Exception e, Object propertyValue)
public void clearFieldErrors()
public List getFieldErrors()
public boolean hasError(String fieldName)
public void actionVoid(CommandRequest request)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.