Class PluginSessionReplacerParams
- java.lang.Object
-
- de.xima.fc.plugin.models.params.replacer.PluginSessionReplacerParams
-
- All Implemented Interfaces:
IPluginParameters
,IPluginGenericReplacerParams
,IPluginSessionReplacerParams
public class PluginSessionReplacerParams extends Object implements IPluginSessionReplacerParams
-
-
Field Summary
Fields Modifier and Type Field Description protected IReplacerParams
replacerParams
-
Constructor Summary
Constructors Constructor Description PluginSessionReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, Vorgang vorgang, String sessionID, String contextName)
PluginSessionReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, ISessionReplacerParams parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContextName()
IEntityContext
getEntityContext()
String
getPlaceholder()
String
getPlaceholderContent()
ISessionReplacerParams
getReplacerParams()
String
getSessionId()
Vorgang
getVorgang()
-
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
getEscaper
-
Methods inherited from interface de.xima.fc.interfaces.plugin.param.replacer.IPluginSessionReplacerParams
getEntityContext, getPlaceholder, getPlaceholderContent
-
-
-
-
Field Detail
-
replacerParams
protected final IReplacerParams replacerParams
-
-
Constructor Detail
-
PluginSessionReplacerParams
public PluginSessionReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, ISessionReplacerParams parameters)
-
PluginSessionReplacerParams
@Deprecated public PluginSessionReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, Vorgang vorgang, String sessionID, String contextName)
Deprecated.- Parameters:
ec
- Current entity context for database interaction.placeholder
- Placeholder to process.placeholderContent
- Content of the placeholder to process.vorgang
- Current form record being processed.sessionID
- Current ID of the HTTP session.contextName
- Name of the context where the web app is running.
-
-
Method Detail
-
getVorgang
public Vorgang getVorgang()
- Specified by:
getVorgang
in interfaceIPluginSessionReplacerParams
- Returns:
- The current
Vorgang
, if there is one.
-
getSessionId
public String getSessionId()
- Specified by:
getSessionId
in interfaceIPluginSessionReplacerParams
- Returns:
- The current session ID of the
HttpSession
.
-
getContextName
public String getContextName()
- Specified by:
getContextName
in interfaceIPluginSessionReplacerParams
- Returns:
- The current context name of the web application.
-
getReplacerParams
public ISessionReplacerParams getReplacerParams()
- Specified by:
getReplacerParams
in interfaceIPluginGenericReplacerParams
- Specified by:
getReplacerParams
in interfaceIPluginSessionReplacerParams
- 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()
-
-