Class PluginSystemReplacerParams
- java.lang.Object
-
- de.xima.fc.plugin.models.params.replacer.PluginSystemReplacerParams
-
- All Implemented Interfaces:
IPluginParameters
,IPluginGenericReplacerParams
,IPluginSystemReplacerParams
public class PluginSystemReplacerParams extends Object implements IPluginSystemReplacerParams
-
-
Field Summary
Fields Modifier and Type Field Description protected IReplacerParams
replacerParams
-
Constructor Summary
Constructors Constructor Description PluginSystemReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, ISystemReplacerParams parameters)
PluginSystemReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IWorkflowProcessingContext wpc, Mandant client)
PluginSystemReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IBaseWorkflowExecutionContext wpc, Mandant client)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Mandant
getClient()
Deprecated.IEntityContext
getEntityContext()
String
getPlaceholder()
String
getPlaceholderContent()
ISystemReplacerParams
getReplacerParams()
IBaseWorkflowExecutionContext
getWorkflowExecutionContext()
Deprecated.IWorkflowProcessingContext
getWorkflowProcessingContext()
Deprecated.-
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
-
PluginSystemReplacerParams
public PluginSystemReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, ISystemReplacerParams parameters)
-
PluginSystemReplacerParams
@Deprecated public PluginSystemReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IWorkflowProcessingContext wpc, Mandant client)
- Parameters:
ec
- Current entity context for database interaction.placeholder
- Placeholder to process.placeholderContent
- Content of the placeholder to process.wpc
- Current workflow processing context.
-
PluginSystemReplacerParams
@Deprecated public PluginSystemReplacerParams(IEntityContext ec, String placeholder, String placeholderContent, IBaseWorkflowExecutionContext wpc, Mandant client)
- Parameters:
ec
- Current entity context for database interaction.placeholder
- Placeholder to process.placeholderContent
- Content of the placeholder to process.wpc
- Current workflow processing context.client
- Current client.
-
-
Method Detail
-
getWorkflowProcessingContext
@Deprecated public IWorkflowProcessingContext getWorkflowProcessingContext()
Deprecated.- Specified by:
getWorkflowProcessingContext
in interfaceIPluginSystemReplacerParams
- Returns:
- The current
IWorkflowProcessingContext
, in case the placeholder is used within a workflow action. It may be used to, for example, to access the current workflowAktion
or the currentVorgang
.
-
getWorkflowExecutionContext
@Deprecated public IBaseWorkflowExecutionContext getWorkflowExecutionContext()
Deprecated.- Specified by:
getWorkflowExecutionContext
in interfaceIPluginSystemReplacerParams
- Returns:
- The current
IBaseWorkflowExecutionContext
, in case the placeholder is used within a workflow action. It may be used to, for example, to access the current workflowAktion
or the currentVorgang
.
-
getClient
@Deprecated public Mandant getClient()
Deprecated.- Specified by:
getClient
in interfaceIPluginSystemReplacerParams
- Returns:
- The current client context where the replacement takes place.
-
getReplacerParams
public ISystemReplacerParams getReplacerParams()
- Specified by:
getReplacerParams
in interfaceIPluginGenericReplacerParams
- Specified by:
getReplacerParams
in interfaceIPluginSystemReplacerParams
- 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()
-
-