|
jbpm-form-modeler-api 6.1.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldHandler
Method Summary | |
---|---|
String[] |
getCompatibleClassNames()
Determine the list of class names 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) |
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) |
boolean |
isEmpty(Object value)
Determine if supplied value is empty |
Method Detail |
---|
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 any
String getPageToIncludeForRendering()
String getPageToIncludeForDisplaying()
boolean isEmpty(Object value)
value
-
|
jbpm-form-modeler-api 6.1.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |