@Named(value="org.jbpm.formModeler.core.processing.fieldHandlers.InputTextFieldHandler") public class InputTextFieldHandler extends DefaultFieldHandler
Constructor and Description |
---|
InputTextFieldHandler() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCompatibleClassNames()
Determine the list of class types this field can generate.
|
String |
getPageToIncludeForDisplaying()
When rendering a form, if field is handled by this handler, determine the
page that renders the displaying of the value
|
String |
getPageToIncludeForRendering()
When rendering a form, if field is handled by this handler, determine the
page that renders the input(s)
|
String |
getPageToIncludeForSearching() |
Map |
getParamValue(String inputName,
Object objectValue,
String pattern)
Determine the value as a parameter map for a given input value.
|
Object |
getValue(org.jbpm.formModeler.api.model.Field field,
String inputName,
Map parametersMap,
Map filesMap,
String desiredClassName,
Object previousValue)
Read a parameter value (normally from a request), and translate it to
an object with desired class (that must be one of the returned by this handler)
|
boolean |
isEmpty(Object value) |
void |
setPageToIncludeForDisplaying(String pageToIncludeForDisplaying) |
void |
setPageToIncludeForRendering(String pageToIncludeForRendering) |
void |
setPageToIncludeForSearching(String pageToIncludeForSearching) |
getFieldHandlersManager, getFormManager, getFormProcessor, getFormStatusManager, getFunctionsProvider, getName, getNamespaceManager, getReplacementManager
checkBooleanParameter, getFieldName, initialize, isEvaluable
public String[] getCompatibleClassNames()
public Object getValue(org.jbpm.formModeler.api.model.Field field, String inputName, Map parametersMap, Map filesMap, String desiredClassName, Object previousValue) throws Exception
Exception
public Map getParamValue(String inputName, Object objectValue, String pattern)
objectValue
- Object value to representpattern
- Pattern to apply if anypublic String getPageToIncludeForDisplaying()
getPageToIncludeForDisplaying
in interface FieldHandler
getPageToIncludeForDisplaying
in class AbstractFieldHandler
public boolean isEmpty(Object value)
public void setPageToIncludeForDisplaying(String pageToIncludeForDisplaying)
public String getPageToIncludeForRendering()
getPageToIncludeForRendering
in interface FieldHandler
getPageToIncludeForRendering
in class AbstractFieldHandler
public void setPageToIncludeForRendering(String pageToIncludeForRendering)
public String getPageToIncludeForSearching()
getPageToIncludeForSearching
in interface FieldHandler
getPageToIncludeForSearching
in class AbstractFieldHandler
public void setPageToIncludeForSearching(String pageToIncludeForSearching)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.