|
jbpm-form-modeler-api 6.0.0.Beta5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldHandler
Method Summary | |
---|---|
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()
|
Method Detail |
---|
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 any
String 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 isEvaluable(String inputName, Map parameterMap, Map filesMap)
boolean shouldPersist()
|
jbpm-form-modeler-api 6.0.0.Beta5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |