public interface IPluginSystemReplacer extends IFCPlugin
CmnConst.PH_PATTERN_SYSTEM
:
[%$PLACEHOLDER_NAME%]Please note these placeholder plugins are run before the built-in system placeholder replacer. As such, when a system placeholder was already processed and replaced by a plugin, the built-in placeholder will not be applied anymore. Also, when multiple system 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 |
---|---|
IPluginSystemReplacerRetVal |
replace(IPluginSystemReplacerParams 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
IPluginSystemReplacerRetVal replace(IPluginSystemReplacerParams 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 © 2020 XIMA MEDIA GmbH. All rights reserved.