public abstract class HandlerFactoryElement extends org.jboss.dashboard.factory.BasicFactoryElement
Modifier and Type | Class and Description |
---|---|
static class |
HandlerFactoryElement.HandlerTrace |
Constructor and Description |
---|
HandlerFactoryElement() |
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.
|
List |
getFieldErrors() |
CommandResponse |
handle(CommandRequest request,
String action) |
boolean |
hasError(String fieldName) |
boolean |
isEnabledForActionHandling() |
boolean |
isEnableDoubleClickControl() |
protected boolean |
isScopeAdequateForDoubleClickControl() |
boolean |
isUseActionShortcuts() |
void |
setEnabledForActionHandling(boolean enabledForActionHandling) |
void |
setEnableDoubleClickControl(boolean enableDoubleClickControl) |
void |
setUseActionShortcuts(boolean useActionShortcuts) |
void |
start() |
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, stop
public boolean isUseActionShortcuts()
public void setUseActionShortcuts(boolean useActionShortcuts)
public boolean isEnableDoubleClickControl()
public void setEnableDoubleClickControl(boolean enableDoubleClickControl)
public boolean isEnabledForActionHandling()
public void setEnabledForActionHandling(boolean enabledForActionHandling)
public void start() throws Exception
start
in interface org.jboss.dashboard.factory.FactoryLifecycle
start
in class org.jboss.dashboard.factory.BasicFactoryElement
Exception
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 boolean isScopeAdequateForDoubleClickControl()
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-2014 JBoss by Red Hat. All Rights Reserved.