Interface IPluginGenericReplacerParams
-
- All Superinterfaces:
IPluginParameters
- All Known Subinterfaces:
IPluginFormReplacerParams
,IPluginSystemReplacerParams
,IPluginTemplateReplacerParams
- All Known Implementing Classes:
PluginFormReplacerParams
,PluginSessionReplacerParams
,PluginSystemReplacerParams
,PluginTemplateReplacerParams
public interface IPluginGenericReplacerParams extends IPluginParameters
Interface for common parameters of all placeholder replace plugins.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IEntityContext
getEntityContext()
default IPlaceholderEscaper
getEscaper()
String
getPlaceholder()
String
getPlaceholderContent()
-
-
-
Method Detail
-
getEntityContext
IEntityContext getEntityContext()
- Returns:
- An
IEntityContext
that can be used to send queries to the database.
-
getEscaper
default IPlaceholderEscaper getEscaper()
- Returns:
- The escaper for post-processing the replaced values. You should call
IPlaceholderEscaper.escape(String, de.xima.fc.interfaces.placeholder.params.EPlaceholderType)
on the replaced value.
-
getPlaceholder
String getPlaceholder()
- Returns:
- The entire placeholder, including the name of the placeholder as well as the prefix and the suffix, such as
[%tf1%]
. - See Also:
getPlaceholderContent()
-
getPlaceholderContent
String getPlaceholderContent()
- Returns:
- The name of the placeholder, without the prefix and the suffix, such as
tf1
. - See Also:
getPlaceholder()
-
-