Package nl.gx.forms.wmpformapi.api.logic
Interface FormLogicComponent
-
- All Superinterfaces:
BasicFormLogicComponent
,Identifiable
- All Known Subinterfaces:
CompositeFormLogicComponent
,ConditionalComponent
,FormHandler
,FormRouter
,FormValidator
,FragmentValidator
public interface FormLogicComponent extends Identifiable, BasicFormLogicComponent
Instance of a form logic component. This represents for example a handler that is assigned to a specific form step.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createDefaultParameter(EntityManager entityManager, ParameterDefinition parameterDef)
Creates a default parameter for the given parameter definition.FormLogicContainer
getFormLogicContainer()
Returns the form logic container this component belongs to.void
setCustomLanguageLabelMapping(List<BasicLanguageLabelMapping> languageLabelMapping)
Sets the list of custom language labelsvoid
setFormLogicComponentDefinition(FormLogicComponentDefinition definition)
Sets the definition for this FormLogicComponent.void
setParameters(List<BasicParameter> parameters)
Sets the list of parameters for this FormLogicComponentInstance-
Methods inherited from interface nl.gx.forms.wmpformapi.api.BasicFormLogicComponent
getCustomLanguageLabelMapping, getFormLogicComponentDefinition, getLanguageLabelsMapping, getParameters
-
Methods inherited from interface nl.gx.webmanager.services.entitymanager.Identifiable
getId, setId
-
-
-
-
Method Detail
-
setFormLogicComponentDefinition
void setFormLogicComponentDefinition(FormLogicComponentDefinition definition)
Sets the definition for this FormLogicComponent.- Parameters:
definition
- the definition for this FormLogicComponent
-
setCustomLanguageLabelMapping
void setCustomLanguageLabelMapping(List<BasicLanguageLabelMapping> languageLabelMapping)
Sets the list of custom language labels- Parameters:
languageLabelMapping
- the list of custom language labels
-
setParameters
void setParameters(List<BasicParameter> parameters)
Sets the list of parameters for this FormLogicComponentInstance- Parameters:
parameters
- the list of parameters
-
createDefaultParameter
void createDefaultParameter(EntityManager entityManager, ParameterDefinition parameterDef)
Creates a default parameter for the given parameter definition.- Parameters:
entityManager
- EntityManager service to useparameterDef
- The ParameterDefinition for which to create a new default parameter
-
getFormLogicContainer
FormLogicContainer getFormLogicContainer()
Returns the form logic container this component belongs to.- Returns:
- The form logic container.
-
-