org.jbpm.formModeler.service.bb.mvc.components.handling
Class BeanHandler
java.lang.Object
org.jbpm.formModeler.service.bb.mvc.components.handling.BeanHandler
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RedirectionHandler, UIBeanHandler
public abstract class BeanHandler
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanHandler
public BeanHandler()
getBeanName
public String getBeanName()
isUseActionShortcuts
public boolean isUseActionShortcuts()
setUseActionShortcuts
public void setUseActionShortcuts(boolean useActionShortcuts)
isEnableDoubleClickControl
public boolean isEnableDoubleClickControl()
setEnableDoubleClickControl
public void setEnableDoubleClickControl(boolean enableDoubleClickControl)
isEnabledForActionHandling
public boolean isEnabledForActionHandling()
setEnabledForActionHandling
public void setEnabledForActionHandling(boolean enabledForActionHandling)
start
@PostConstruct
public void start()
throws Exception
- Throws:
Exception
calculateActionShortcuts
protected void calculateActionShortcuts()
getActionName
public String getActionName(String actionName)
- Get the action name for given action name. If there is a shortcut, it will be returned, otherwise, the same name applies.
- Parameters:
actionName - action name
- Returns:
- the action name for given action name
getActionForShortcut
public String getActionForShortcut(String shortcut)
- Get the action name for a given shortcut.
- Parameters:
shortcut - the possible shortcut whose action name is to be obtained.
- Returns:
- the action name for the given shortcut if found, or the shortcut itself if not.
handle
public CommandResponse handle(CommandRequest request,
String action)
throws Exception
- Throws:
Exception
beforeInvokeAction
protected void beforeInvokeAction(CommandRequest request,
String action)
throws Exception
- Throws:
Exception
afterInvokeAction
protected void afterInvokeAction(CommandRequest request,
String action)
throws Exception
- Throws:
Exception
addFieldError
public void addFieldError(FactoryURL property,
Exception e,
Object propertyValue)
clearFieldErrors
public void clearFieldErrors()
getFieldErrors
public List getFieldErrors()
hasError
public boolean hasError(String fieldName)
actionVoid
public void actionVoid(CommandRequest request)
getExtraActionParams
public Map<String,String> getExtraActionParams()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.