Interface FormLogicContainer

    • Method Detail

      • setFormLogic

        void setFormLogic​(List<BasicFormLogicComponent> formLogic)
        Sets or updates the top-level form handling component instances for this form.
        Parameters:
        formLogic -
      • setPreHandleFormLogic

        void setPreHandleFormLogic​(List<BasicFormLogicComponent> components)
        Sets the list of BasicFormLogicComponents to use as prehandling.
        Parameters:
        components - the list of BasicFormLogicComponents to use as prehandling
      • createPreHandleComponent

        FormLogicComponent createPreHandleComponent​(FormLogicComponentDefinition handlerDefinition)
        Creates a new FormLogicComponent based on the specified definition. This component is to be used as prehandling.
        Parameters:
        handlerDefinition - the definition to base the new FormLogicComponent on
        Returns:
        the new FormLogicComponent
      • createHandler

        FormHandler createHandler​(FormHandlerDefinition handlerDefinition)
        Creates a new Handler based on the specified definition.
        Parameters:
        handlerDefinition - the definition to base the handler on
        Returns:
        the newly created Handler
      • createRouter

        FormRouter createRouter​(FormRouterDefinition routerDefinition)
        Creates a new Router based on the specified definition.
        Parameters:
        routerDefinition - the definition to base the Router on
        Returns:
        the newly created Router
      • createFormValidator

        FormValidator createFormValidator​(FormValidatorDefinition formValidatorDefinition)
        Creates a new FormValidator based on the specified definition.
        Parameters:
        formValidatorDefinition - the definition to base the FormValidator on
        Returns:
        the newly created FormValidator
      • createConditional

        ConditionalComponent createConditional​(ConditionalComponentDefinition conditionalComponentDefinition)
        Creates a new Condition FormLogicComponent based on the specified definition.
        Parameters:
        conditionalComponentDefinition - the definition to base the ConditionalComponent on
        Returns:
        the newly created ConditionalComponent
      • deleteFormLogicComponent

        void deleteFormLogicComponent​(FormLogicComponent formLogic)
                               throws FormManagerException
        Deletes a FormLogicComponent from this FormLogicContainer.
        Parameters:
        formLogic - the FormLogicComponent to delete
        Throws:
        FormManagerException - when something goes wrong