public class PluginAPI extends ASubAPI
| Constructor and Description |
|---|
PluginAPI() |
getHandlerProviderpublic Map<String,IPluginFormPreRenderRetVal> executeFormPreRenderPlugins(UserContext uc, Mandant mandant, IPluginFormPreRenderParams params)
public Map<String,IPluginFormPrePersistRetVal> executeFormPrePersistPlugins(UserContext uc, Mandant mandant, IPluginFormPrePersistParams params)
public Map<String,IPluginFormPreProcessRetVal> executeFormPreProcessPlugins(UserContext uc, Mandant mandant, IPluginFormPreProcessParams params)
public Map<String,IPluginFormPreRespondRetVal> executeFormPreRespondPlugins(UserContext uc, Mandant mandant, IPluginFormPreRespondParams params)
public IPluginGenericRetVal executeGenericPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginGenericParams params)
public IPluginServletActionRetVal executeServletActionPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginServletActionParams params)
public IPluginDataSourceRetVal executeDatenquelle(UserContext uc, String datasourceName, Mandant mandant, IPluginDataSourceParams params)
public void deactivatePlugin(UserContext uc, String runtimeKey, String scopeKey)
uc - The current user context for accessing the database.runtimeKey - The PluginSyncData.getRuntimeKey() of the plugin.scopeKey - The PluginSyncData.getScopeyKey() of the plugin.public Set<String> getPluginNames(UserContext uc, Mandant client, Class<? extends IFCPlugin> type)
uc - UserContext the user context in which the action is to be performed.client - Mandant whose plugins are searched for.type - IFCPlugin of the plugin.Set of plugin names which were found.@Deprecated public Map<EPluginScope,Set<String>> getPluginNameMap(UserContext uc, Mandant client, Class<? extends IFCPlugin> type)
uc - UserContext the user context in which the action is to be performed.client - Mandant whose plugins are searched for.type - IFCPlugin of the plugin.Map of the plugins with the corresponding EPluginScope.public Map<String,IPluginVRuleModel> getValidationRulePlugins(Mandant client, Locale locale)
public Map<String,IPluginFormElementWidget> getFormElementWidgetPlugins(UserContext uc, Mandant client, Locale locale)
public byte[] getPluginFormResource(UserContext uc, Integer clientId, String pluginName, String resourceName, String cacheKey)
@Deprecated public Set<String> getPluginNames(UserContext uc, Mandant client, EPluginTypes type)
getPluginNames(UserContext, Mandant, Class)uc - UserContext the user context in which the action is to be performed.client - Mandant whose plugins are searched for.type - IFCPlugin of the plugin.Set of plugin names which were found.@Deprecated public Map<EPluginScope,Set<String>> getPluginNameMap(UserContext uc, Mandant client, EPluginTypes type)
getPluginNameMap(UserContext, Mandant, Class)uc - UserContext the user context in which the action is to be performed.client - Mandant whose plugins are searched for.type - IFCPlugin of the plugin.Map of the plugins with the corresponding EPluginScope.public List<PluginSyncData> getPluginSyncData(UserContext uc, boolean isFrontendServer)
public byte[] getJarFileData(UserContext uc, PluginSyncData pluginEntity)
public byte[] getConfigFileData(UserContext uc, PluginSyncData pluginEntity)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.