Class PluginTemplateReplacerParams
java.lang.Object
de.xima.fc.plugin.models.params.replacer.PluginTemplateReplacerParams
- All Implemented Interfaces:
IPluginParameters
,IPluginGenericReplacerParams
,IPluginTemplateReplacerParams
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPluginTemplateReplacerParams
(IEntityContext ec, String placeholder, String placeholderContent, Mandant man) Deprecated.PluginTemplateReplacerParams
(IEntityContext ec, String placeholder, String placeholderContent, ITemplateReplacerParams parameters) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.xima.fc.interfaces.plugin.param.replacer.IPluginGenericReplacerParams
getEntityContext, getEscaper, getPlaceholder, getPlaceholderContent
-
Field Details
-
replacerParams
-
-
Constructor Details
-
PluginTemplateReplacerParams
public PluginTemplateReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, ITemplateReplacerParams parameters) -
PluginTemplateReplacerParams
@Deprecated public PluginTemplateReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, Mandant man) Deprecated.- Parameters:
ec
- Current entity context for database interaction.placeholder
- Placeholder to process.placeholderContent
- Content of the placeholder to process.man
- Current client.
-
-
Method Details
-
getMandant
Deprecated.- Specified by:
getMandant
in interfaceIPluginTemplateReplacerParams
- Returns:
- The current
Mandant
. May be used to retrieve a certainTextbaustein
of that client.
-
getReplacerParams
- Specified by:
getReplacerParams
in interfaceIPluginGenericReplacerParams
- Specified by:
getReplacerParams
in interfaceIPluginTemplateReplacerParams
- Returns:
- The current replacer parameters for the replacement process.
-
getEntityContext
- Specified by:
getEntityContext
in interfaceIPluginGenericReplacerParams
- Returns:
- An
IEntityContext
that can be used to send queries to the database.
-
getPlaceholder
- Specified by:
getPlaceholder
in interfaceIPluginGenericReplacerParams
- Returns:
- The entire placeholder, including the name of the placeholder as well as the prefix and the suffix, such
as
[%tf1%]
. - See Also:
-
getPlaceholderContent
- Specified by:
getPlaceholderContent
in interfaceIPluginGenericReplacerParams
- Returns:
- The name of the placeholder, without the prefix and the suffix, such as
tf1
. - See Also:
-
PluginTemplateReplacerParams(IEntityContext, String, String, ITemplateReplacerParams)
.