Class PluginTemplateReplacerParams
- java.lang.Object
-
- de.xima.fc.plugin.models.params.replacer.PluginTemplateReplacerParams
-
- All Implemented Interfaces:
IPluginParameters,IPluginGenericReplacerParams,IPluginTemplateReplacerParams
public class PluginTemplateReplacerParams extends Object implements IPluginTemplateReplacerParams
-
-
Field Summary
Fields Modifier and Type Field Description protected IReplacerParamsreplacerParams
-
Constructor Summary
Constructors Constructor Description PluginTemplateReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, Mandant man)PluginTemplateReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, ITemplateReplacerParams parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IEntityContextgetEntityContext()MandantgetMandant()Deprecated.StringgetPlaceholder()StringgetPlaceholderContent()ITemplateReplacerParamsgetReplacerParams()-
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 Detail
-
replacerParams
protected final IReplacerParams replacerParams
-
-
Constructor Detail
-
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 Detail
-
getMandant
@Deprecated public Mandant getMandant()
Deprecated.- Specified by:
getMandantin interfaceIPluginTemplateReplacerParams- Returns:
- The current
Mandant. May be used to retrieve a certainTextbausteinof that client.
-
getReplacerParams
public ITemplateReplacerParams getReplacerParams()
- Specified by:
getReplacerParamsin interfaceIPluginGenericReplacerParams- Specified by:
getReplacerParamsin interfaceIPluginTemplateReplacerParams- Returns:
- The current replacer parameters for the replacement process.
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContextin interfaceIPluginGenericReplacerParams- Returns:
- An
IEntityContextthat can be used to send queries to the database.
-
getPlaceholder
public String getPlaceholder()
- Specified by:
getPlaceholderin interfaceIPluginGenericReplacerParams- Returns:
- The entire placeholder, including the name of the placeholder as well as the prefix and the suffix, such
as
[%tf1%]. - See Also:
IPluginGenericReplacerParams.getPlaceholderContent()
-
getPlaceholderContent
public String getPlaceholderContent()
- Specified by:
getPlaceholderContentin interfaceIPluginGenericReplacerParams- Returns:
- The name of the placeholder, without the prefix and the suffix, such as
tf1. - See Also:
IPluginGenericReplacerParams.getPlaceholder()
-
-