public class PluginExecutor extends Object
Constructor and Description |
---|
PluginExecutor() |
Modifier and Type | Method and Description |
---|---|
static IPluginDataSourceRetVal |
executeDatenquelle(IPluginDataSource plugin,
IPluginDataSourceParams params)
Executes a data source plugin.
|
static IPluginDataSourceRetVal |
executeDatenquelle(UserContext uc,
String datasourceName,
Mandant mandant,
IPluginDataSourceParams params)
Runs the data source plugin with the given name, and returns the result the plugin returned.
|
static IPluginFormPrePersistRetVal |
executeFormPrePersist(IPluginFormPrePersist plugin,
IPluginFormPrePersistParams params)
Executes a single form pre-persist plugin.
|
static Map<String,IPluginFormPrePersistRetVal> |
executeFormPrePersist(UserContext uc,
Mandant mandant,
IPluginFormPrePersistParams params)
Runs all pre-persist plugins for the given client, and returns all results the plugins returned.
|
static IPluginFormPreProcessRetVal |
executeFormPreProcess(IPluginFormPreProcess plugin,
IPluginFormPreProcessParams params)
Executes a single form pre-process plugin.
|
static Map<String,IPluginFormPreProcessRetVal> |
executeFormPreProcess(UserContext uc,
Mandant mandant,
IPluginFormPreProcessParams params)
Runs all pre-persist plugins for the given client, and returns all results the plugins returned.
|
static IPluginFormPreRenderRetVal |
executeFormPreRender(IPluginFormPreRender plugin,
IPluginFormPreRenderParams params)
Executes a single form pre-render plugin.
|
static Map<String,IPluginFormPreRenderRetVal> |
executeFormPreRender(UserContext uc,
Mandant mandant,
IPluginFormPreRenderParams params)
Runs all pre-render plugins for the given client, and returns all results the plugins returned.
|
static IPluginFormPreRespondRetVal |
executeFormPreResponse(IPluginFormPreRespond plugin,
IPluginFormPreRespondParams params)
Executes a single form pre-response plugin.
|
static Map<String,IPluginFormPreRespondRetVal> |
executeFormPreResponse(UserContext uc,
Mandant mandant,
IPluginFormPreRespondParams params)
Runs all pre-respond plugins for the given client, and returns all results the plugins returned.
|
static IPluginGenericRetVal |
executeGenericPlugin(IPluginGeneric plugin,
IPluginGenericParams params)
Executes a single generic plugin.
|
static IPluginGenericRetVal |
executeGenericPlugin(UserContext uc,
String pluginName,
Mandant mandant,
IPluginGenericParams params)
Runs the generic plugin with the given name, and returns the result the plugin returned.
|
static IPluginServletActionRetVal |
executeServletActionPlugin(IPluginServletAction plugin,
IPluginServletActionParams params)
Executes a single servlet action plugin.
|
static IPluginServletActionRetVal |
executeServletActionPlugin(UserContext uc,
String pluginName,
Mandant mandant,
IPluginServletActionParams params)
Runs the servlet action plugin with the given name, and returns the result the plugin returned.
|
public static Map<String,IPluginFormPreRenderRetVal> executeFormPreRender(UserContext uc, Mandant mandant, IPluginFormPreRenderParams params)
uc
- The current user context, current not used.mandant
- The current client for which to execute the plugins.params
- The parameters that are passed to the pre-render plugins.public static IPluginFormPreRenderRetVal executeFormPreRender(IPluginFormPreRender plugin, IPluginFormPreRenderParams params) throws FCPluginException
plugin
- Plugin to execute.params
- Parameters that are passed to the pre-render plugin.null
if it did not return a value (or the given plugin is
null
).FCPluginException
- When this exception is thrown by the plugin.public static Map<String,IPluginFormPrePersistRetVal> executeFormPrePersist(UserContext uc, Mandant mandant, IPluginFormPrePersistParams params)
uc
- The current user context, current not used.mandant
- The current client for which to execute the plugins.params
- The parameters that are passed to the pre-persist plugins.public static IPluginFormPrePersistRetVal executeFormPrePersist(IPluginFormPrePersist plugin, IPluginFormPrePersistParams params) throws FCPluginException
plugin
- Plugin to execute.params
- Parameters that are passed to the pre-persist plugin.null
if it did not return a value (or the given plugin is
null
).FCPluginException
- When this exception is thrown by the plugin.public static Map<String,IPluginFormPreProcessRetVal> executeFormPreProcess(UserContext uc, Mandant mandant, IPluginFormPreProcessParams params)
uc
- The current user context, current not used.mandant
- The current client for which to execute the plugins.params
- The parameters that are passed to the pre-process plugins.public static IPluginFormPreProcessRetVal executeFormPreProcess(IPluginFormPreProcess plugin, IPluginFormPreProcessParams params) throws FCPluginException
plugin
- Plugin to execute.params
- Parameters that are passed to the pre-process plugin.null
if it did not return a value (or the given plugin is
null
).FCPluginException
- When this exception is thrown by the plugin.public static Map<String,IPluginFormPreRespondRetVal> executeFormPreResponse(UserContext uc, Mandant mandant, IPluginFormPreRespondParams params)
uc
- The current user context, current not used.mandant
- The current client for which to execute the plugins.params
- The parameters that are passed to the pre-respond plugins.public static IPluginFormPreRespondRetVal executeFormPreResponse(IPluginFormPreRespond plugin, IPluginFormPreRespondParams params) throws FCPluginException
plugin
- Plugin to execute.params
- Parameters that are passed to the pre-response plugin.null
if it did not return a value (or the given plugin is
null
).FCPluginException
- When this exception is thrown by the plugin.public static IPluginGenericRetVal executeGenericPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginGenericParams params)
uc
- The current user context, current not used.pluginName
- Name of the generic plugin to execute.mandant
- The current client for which to execute the plugin.params
- The parameters that are passed to the generic plugin.public static IPluginGenericRetVal executeGenericPlugin(IPluginGeneric plugin, IPluginGenericParams params) throws FCPluginException
plugin
- Plugin to execute.params
- Parameters that are passed to the generic plugin.null
if it did not return a value (or the given plugin is
null
).FCPluginException
- When this exception is thrown by the plugin.public static IPluginDataSourceRetVal executeDatenquelle(UserContext uc, String datasourceName, Mandant mandant, IPluginDataSourceParams params)
uc
- The current user context, current not used.datasourceName
- Name of the data source plugin to execute.mandant
- The current client for which to execute the plugin.params
- The parameters that are passed to the generic plugin.public static IPluginDataSourceRetVal executeDatenquelle(IPluginDataSource plugin, IPluginDataSourceParams params) throws FCPluginException
plugin
- Plugin to execute.params
- Parameters that are passed to the data source plugin.null
if it did not return a value (or the given plugin is
null
).FCPluginException
- When this exception is thrown by the plugin.public static IPluginServletActionRetVal executeServletActionPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginServletActionParams params)
uc
- The current user context, current not used.pluginName
- The name of the servlet action plugin to execute.mandant
- The current client for which to execute the plugin.params
- The parameters that are passed to the servlet action plugin.public static IPluginServletActionRetVal executeServletActionPlugin(IPluginServletAction plugin, IPluginServletActionParams params) throws FCPluginException
plugin
- Plugin to execute.params
- Parameters that are passed to the servlet action plugin.null
if it did not return a value (or the given plugin is
null
).FCPluginException
- When this exception is thrown by the plugin.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.