public interface IPluginFormPreRespond extends IFCPlugin
FormEingang
was created workflow processing was run; and immediately before the HTTP response is about to be
sent to the browser. Contrast this with a plugin of type IPluginFormPrePersist
, which is run before a
FormEingang
is created; and to IPluginFormPreProcess
, which is run before processing the
workflow.
This plugin can be used, for example, to prevent the response from being sent to the user and display an empty page. It can also be used to modify or add HTTP session attributes; or to perform additional logic such as sending the data to a third-party webservice.
CONFIG_FILENAME
ATTR_NAME, COL_NAME
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
IPluginFormPreRespondRetVal |
execute(IPluginFormPreRespondParams params)
The main method of this plugin.
|
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
IPluginFormPreRespondRetVal execute(IPluginFormPreRespondParams params) throws FCPluginException
When any exception other than FCPluginException
is thrown, the response will not be sent to the browser and
a general error template is returned to the user who submitted the form.
params
- The parameters this plugin may make use of. Contains for example the current Projekt
, the
current FormEingang
, session parameters.FCPluginException
- May be thrown when this plugin cannot perform is task due to any reason. Please note that
throwing this exception will not prevent the response from being sent.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.