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 IReplacerParams
replacerParams
-
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 IEntityContext
getEntityContext()
Mandant
getMandant()
Deprecated.String
getPlaceholder()
String
getPlaceholderContent()
ITemplateReplacerParams
getReplacerParams()
-
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:
getMandant
in interfaceIPluginTemplateReplacerParams
- Returns:
- The current
Mandant
. May be used to retrieve a certainTextbaustein
of that client.
-
getReplacerParams
public ITemplateReplacerParams getReplacerParams()
- Specified by:
getReplacerParams
in interfaceIPluginGenericReplacerParams
- Specified by:
getReplacerParams
in interfaceIPluginTemplateReplacerParams
- Returns:
- The current replacer parameters for the replacement process.
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContext
in interfaceIPluginGenericReplacerParams
- Returns:
- An
IEntityContext
that can be used to send queries to the database.
-
getPlaceholder
public String 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:
IPluginGenericReplacerParams.getPlaceholderContent()
-
getPlaceholderContent
public String getPlaceholderContent()
- Specified by:
getPlaceholderContent
in interfaceIPluginGenericReplacerParams
- Returns:
- The name of the placeholder, without the prefix and the suffix, such as
tf1
. - See Also:
IPluginGenericReplacerParams.getPlaceholder()
-
-