@Named(value="org.jbpm.formModeler.core.processing.fieldHandlers.SubformFieldHandler") public class SubformFieldHandler extends PersistentFieldHandler
Constructor and Description |
---|
SubformFieldHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addWrongChildFieldErrors(String namespace,
org.jbpm.formModeler.api.model.Field field,
List errors) |
static boolean |
checkSubformDepthAllowed(org.jbpm.formModeler.api.model.Form form,
String namesapce) |
String[] |
getCompatibleClassNames()
Determine the list of class types this field can generate.
|
protected org.jbpm.formModeler.api.model.Form |
getEnterDataForm(String namespace,
org.jbpm.formModeler.api.model.Field field) |
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 value,
String pattern) |
Object |
getStatusValue(org.jbpm.formModeler.api.model.Field field,
String inputName,
Object value) |
Set<SubformChecker> |
getSubformCheckers() |
Object |
getValue(org.jbpm.formModeler.api.model.Field field,
String inputName,
Map parametersMap,
Map filesMap,
String desiredClassName,
Object previousValue) |
boolean |
isEmpty(Object value) |
Object |
persist(org.jbpm.formModeler.api.model.Field field,
String inputName) |
void |
prepare() |
void |
setPageToIncludeForDisplaying(String pageToIncludeForDisplaying) |
void |
setPageToIncludeForRendering(String pageToIncludeForRendering) |
void |
setPageToIncludeForSearching(String pageToIncludeForSearching) |
getFieldHandlersManager, getFormManager, getFormProcessor, getFormStatusManager, getFunctionsProvider, getName, getNamespaceManager, getReplacementManager
checkBooleanParameter, getFieldName, initialize, isEvaluable
@PostConstruct public void prepare()
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 Object persist(org.jbpm.formModeler.api.model.Field field, String inputName) throws Exception
persist
in class PersistentFieldHandler
Exception
public Object getStatusValue(org.jbpm.formModeler.api.model.Field field, String inputName, Object value)
getStatusValue
in class PersistentFieldHandler
public void addWrongChildFieldErrors(String namespace, org.jbpm.formModeler.api.model.Field field, List errors)
public 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)
protected org.jbpm.formModeler.api.model.Form getEnterDataForm(String namespace, org.jbpm.formModeler.api.model.Field field)
public static boolean checkSubformDepthAllowed(org.jbpm.formModeler.api.model.Form form, String namesapce)
public Set<SubformChecker> getSubformCheckers()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.