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 
- 
- 
Constructor SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContextName()IEntityContextgetEntityContext()IPlaceholderEscapergetEscaper()StringgetPlaceholder()StringgetPlaceholderContent()StringgetSessionId()VorganggetVorgang()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface de.xima.fc.interfaces.plugin.param.replacer.IPluginSessionReplacerParamsgetEntityContext, getPlaceholder, getPlaceholderContent
 
- 
 
- 
- 
- 
Constructor Detail- 
PluginSessionReplacerParamspublic 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- 
getSessionIdpublic String getSessionId() - Specified by:
- getSessionIdin interface- IPluginSessionReplacerParams
- Returns:
- The current session ID of the HttpSession.
 
 - 
getContextNamepublic String getContextName() - Specified by:
- getContextNamein interface- IPluginSessionReplacerParams
- Returns:
- The current context name of the web application.
 
 - 
getVorgangpublic Vorgang getVorgang() - Specified by:
- getVorgangin interface- IPluginSessionReplacerParams
- Returns:
- The current Vorgang, if there is one.
 
 - 
getEntityContextpublic IEntityContext getEntityContext() - Specified by:
- getEntityContextin interface- IPluginGenericReplacerParams
- Returns:
- An IEntityContextthat can be used to send queries to the database.
 
 - 
getEscaperpublic IPlaceholderEscaper getEscaper() - Specified by:
- getEscaperin interface- IPluginGenericReplacerParams
- Returns:
- The escaper for post-processing the replaced values. You should call
 IPlaceholderEscaper.escape(String, de.xima.fc.interfaces.placeholder.params.EPlaceholderType)on the replaced value.
 
 - 
getPlaceholderpublic String getPlaceholder() - Specified by:
- getPlaceholderin interface- IPluginGenericReplacerParams
- 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()
 
 - 
getPlaceholderContentpublic String getPlaceholderContent() - Specified by:
- getPlaceholderContentin interface- IPluginGenericReplacerParams
- Returns:
- The name of the placeholder, without the prefix and the suffix, such as tf1.
- See Also:
- IPluginGenericReplacerParams.getPlaceholder()
 
 
- 
 
-