Class PluginFormReplacerParams
- java.lang.Object
-
- de.xima.fc.plugin.models.params.replacer.PluginFormReplacerParams
-
- All Implemented Interfaces:
IPluginParameters
,IPluginFormReplacerParams
,IPluginGenericReplacerParams
public class PluginFormReplacerParams extends Object implements IPluginFormReplacerParams
-
-
Field Summary
Fields Modifier and Type Field Description protected IReplacerParams
replacerParams
-
Constructor Summary
Constructors Constructor Description PluginFormReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IFormDataAdapter fda, FormVersion formversion)
PluginFormReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IFormReplacerParams parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IEntityContext
getEntityContext()
IFormDataAdapter
getFormDataAdapter()
Deprecated.FormVersion
getFormversion()
Deprecated.String
getPlaceholder()
String
getPlaceholderContent()
IFormReplacerParams
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.IPluginFormReplacerParams
isEncodeForHTML
-
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
-
PluginFormReplacerParams
public PluginFormReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IFormReplacerParams parameters)
-
PluginFormReplacerParams
@Deprecated public PluginFormReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IFormDataAdapter fda, FormVersion formversion)
- Parameters:
ec
- Current entity context for database interaction.placeholder
- Placeholder to process.placeholderContent
- Content of the placeholder to process.fda
- Current form data adapter with the submitted form data.formversion
- Current form version being processed.
-
-
Method Detail
-
getFormDataAdapter
@Deprecated public IFormDataAdapter getFormDataAdapter()
Deprecated.- Specified by:
getFormDataAdapter
in interfaceIPluginFormReplacerParams
- Returns:
- The
IFormDataAdapter
that you can use to access the form data of the currentFormEingang
.
-
getFormversion
@Deprecated public FormVersion getFormversion()
Deprecated.- Specified by:
getFormversion
in interfaceIPluginFormReplacerParams
- Returns:
- The current
FormVersion
for which the replacement is being performed.
-
getReplacerParams
public IFormReplacerParams getReplacerParams()
- Specified by:
getReplacerParams
in interfaceIPluginFormReplacerParams
- Specified by:
getReplacerParams
in interfaceIPluginGenericReplacerParams
- 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()
-
-