public interface IPluginSessionReplacer extends IFCPlugin
CmnConst.PH_PATTERN_SYSTEM
:
[%$PLACEHOLDER_NAME%]Please note these placeholder plugins are run before the built-in session placeholder replacer. As such, when a sesssion placeholder was already processed and replaced by a plugin, the built-in placeholder will not be applied anymore. Also, when multiple session placeholder replacer plugins are installed, there are not guarantees made regarding the order in which the replacer plugins are applied.
CONFIG_FILENAME
ATTR_NAME, COL_NAME
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
IPluginSessionReplacerRetVal |
replace(IPluginSessionReplacerParams params)
This is the main method of this plugin that should perform the placeholder replacement.
|
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
IPluginSessionReplacerRetVal replace(IPluginSessionReplacerParams params) throws FCPluginException
When any exception other than FCPluginException
is thrown, the current process is aborted. For example,
when the form is submitted and the workflow is run, this would result in an internal server error and a generic
error HTML reponse page.
params
- The parameters this plugin may make use of, such as the placeholder to be replaced and the current
workflow context.IPluginGenericReplacerParams.getPlaceholderContent()
.FCPluginException
- May be thrown when this plugin cannot perform the replacement. When an error is thrown,
the placeholder is not replaced and may be replaced by another plugin.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.