Skip navigation links
de.xima.fc.plugin.interfaces.form

Interface IPluginFormPrePersist

    • Method Detail

      • execute

        IPluginFormPrePersistRetVal execute(IPluginFormPrePersistParams params)
                                     throws FCPluginException
        The main method of this plugin. Checks and returns whether the form submission is acceptable.

        When any exception other than FCPluginException is thrown, the form will not be persisted and a general error template is returned to the user who submitted the form.

        Parameters:
        params - The parameters this plugin may make use of. Contains the current form request context that may be used to access the submitted form data.
        Returns:
        Whether the form submission should be allowed or prevented.
        Throws:
        FCPluginException - May be thrown when this plugin cannot perform its task due to any reason. If this exception is thrown, the form will still be persisted.

Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.