public interface IPluginTemplateReplacer extends IFCPlugin
CmnConst.PH_PATTERN_TEMPLATES
:
[%$$PLACEHOLDER_NAME%]Please note these placeholder plugins are run before the built-in template placeholder replacer. As such, when a template placeholder was already processed and replaced by a plugin, the built-in placeholder will not be applied anymore. Also, when multiple template 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 |
---|---|
IPluginTemplateReplacerRetVal |
replace(IPluginTemplateReplacerParams 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
IPluginTemplateReplacerRetVal replace(IPluginTemplateReplacerParams 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
Mandant
.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.