org.jbpm.formModeler.core.processing
public interface FieldHandler
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsPropertyName(String propName)
Determine if given property name is accepted by this handler.
|
String[] |
getCompatibleClassNames()
Determine the list of class names this field can generate.
|
String |
getHumanName(Locale locale)
Return a human readable name for displaying in given locale.
|
String |
getName() |
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()
When rendering a form, if field is handled by this handler, determine the
page that renders the displaying of the value
|
Map |
getParamValue(String inputName,
Object objectValue,
String pattern)
Determine the value as a parameter map for a given input value.
|
Object |
getValue(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)
|
void |
initialize(Field field,
String namespace)
Initialize any status stored in the field.
|
boolean |
isEmpty(Object value)
Determine if supplied value is empty
|
boolean |
isEvaluable(String inputName,
Map parameterMap,
Map filesMap) |
boolean |
shouldPersist() |
String getName()
String[] getCompatibleClassNames()
Object getValue(Field field, String inputName, Map parametersMap, Map filesMap, String desiredClassName, Object previousValue) throws Exception
Exception
Map getParamValue(String inputName, Object objectValue, String pattern)
objectValue
- Object value to representpattern
- Pattern to apply if anyString getPageToIncludeForRendering()
String getPageToIncludeForDisplaying()
String getPageToIncludeForSearching()
boolean isEmpty(Object value)
value
- boolean acceptsPropertyName(String propName)
propName
- property name to determine if it is accepted or not.String getHumanName(Locale locale)
void initialize(Field field, String namespace)
boolean shouldPersist()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.