Package de.xima.fc.handler.system
Class PluginHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.system.PluginHandler
-
- All Implemented Interfaces:
IAPIHandler,IPluginHandler,Serializable
public class PluginHandler extends AMSApiHandler implements IPluginHandler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginHandler()
-
Method Summary
-
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
-
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.com.interfaces.IAPIHandler
getName
-
-
-
-
Method Detail
-
executeFormPreRenderPlugins
public Map<String,IPluginFormPreRenderRetVal> executeFormPreRenderPlugins(UserContext uc, Mandant mandant, IPluginFormPreRenderParams params)
- Specified by:
executeFormPreRenderPluginsin interfaceIPluginHandler
-
executeFormPrePersistPlugins
public Map<String,IPluginFormPrePersistRetVal> executeFormPrePersistPlugins(UserContext uc, Mandant mandant, IPluginFormPrePersistParams params)
- Specified by:
executeFormPrePersistPluginsin interfaceIPluginHandler
-
executeFormPreProcessPlugins
public Map<String,IPluginFormPreProcessRetVal> executeFormPreProcessPlugins(UserContext uc, Mandant mandant, IPluginFormPreProcessParams params)
- Specified by:
executeFormPreProcessPluginsin interfaceIPluginHandler
-
executeFormPreRespondPlugins
public Map<String,IPluginFormPreRespondRetVal> executeFormPreRespondPlugins(UserContext uc, Mandant mandant, IPluginFormPreRespondParams params)
- Specified by:
executeFormPreRespondPluginsin interfaceIPluginHandler
-
executeGenericPlugin
public IPluginGenericRetVal executeGenericPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginGenericParams params)
- Specified by:
executeGenericPluginin interfaceIPluginHandler
-
executeServletActionPlugin
public IPluginServletActionRetVal executeServletActionPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginServletActionParams params)
- Specified by:
executeServletActionPluginin interfaceIPluginHandler
-
executeDatenquelle
public IPluginDataSourceRetVal executeDatenquelle(UserContext uc, String datasourceName, Mandant mandant, IPluginDataSourceParams params)
- Specified by:
executeDatenquellein interfaceIPluginHandler
-
getPluginNames
public Set<String> getPluginNames(UserContext uc, Mandant mandant, Class<? extends IFCPlugin> type)
- Specified by:
getPluginNamesin interfaceIPluginHandler
-
getPluginNameMap
public Map<EPluginScope,Set<String>> getPluginNameMap(UserContext uc, Mandant mandant, Class<? extends IFCPlugin> type)
- Specified by:
getPluginNameMapin interfaceIPluginHandler
-
getValidationRulePlugins
public Map<String,IPluginVRuleModel> getValidationRulePlugins(Mandant mandant, Locale locale)
- Specified by:
getValidationRulePluginsin interfaceIPluginHandler
-
getFormElementCataloguePlugins
public Map<String,IPluginFormElementCatalogue> getFormElementCataloguePlugins(UserContext uc, Mandant mandant, Locale locale)
- Specified by:
getFormElementCataloguePluginsin interfaceIPluginHandler
-
getFormElementWidgetPlugins
public Map<String,IPluginFormElementWidget> getFormElementWidgetPlugins(UserContext uc, Mandant mandant, Locale locale)
- Specified by:
getFormElementWidgetPluginsin interfaceIPluginHandler
-
deactivatePlugin
public void deactivatePlugin(UserContext uc, String runtimeKey, String scopeKey)
- Specified by:
deactivatePluginin interfaceIPluginHandler
-
getPluginFormResource
public IFormResource getPluginFormResource(UserContext uc, Integer clientId, String pluginName)
- Specified by:
getPluginFormResourcein interfaceIPluginHandler- Parameters:
uc- Current user context with the user, may be anonymous.clientId- ID of the client.pluginName-Nameof the resource plugin.- Returns:
- The form resource from the form resource plugin.
-
getPluginFormResource
@Deprecated public IFormResource getPluginFormResource(UserContext uc, Integer clientId, String pluginName, IPluginFormResourceGetDataParams params)
Deprecated.- Specified by:
getPluginFormResourcein interfaceIPluginHandler- Parameters:
uc- Current user context with the user, may be anonymous.clientId- ID of the client.pluginName-Nameof the resource plugin.params- Parameters for the plugin.- Returns:
- The form resource from the form resource plugin.
-
getPluginFormResource
public IFormResource getPluginFormResource(UserContext uc, Long clientId, String pluginKey, String pluginName, IPluginFormResourceGetDataParams params)
- Specified by:
getPluginFormResourcein interfaceIPluginHandler- Parameters:
uc- Current user context with the user, may be anonymous.clientId- ID of the client.pluginKey- Key of the plugin. This is thePlugin-Keyentry of the plugin's manifest. Pass null to search for a plugin with the given name from any installed plugin JAR.pluginName-Nameof the resource plugin.params- Parameters for the plugin.- Returns:
- The form resource from the form resource plugin.
-
getPluginFormResource
public IFormResource getPluginFormResource(UserContext uc, UUID clientUuid, String pluginKey, String pluginName, IPluginFormResourceGetDataParams params)
- Specified by:
getPluginFormResourcein interfaceIPluginHandler- Parameters:
uc- Current user context with the user, may be anonymous.clientUuid- UUID of the client.pluginKey- Key of the plugin. This is thePlugin-Keyentry of the plugin's manifest. Pass null to search for a plugin with the given name from any installed plugin JAR.pluginName-Nameof the resource plugin.params- Parameters for the plugin.- Returns:
- The form resource from the form resource plugin.
-
getPluginSyncData
public List<PluginSyncData> getPluginSyncData(UserContext uc, boolean isFrontendServer)
- Specified by:
getPluginSyncDatain interfaceIPluginHandler
-
getJarFileData
public byte[] getJarFileData(UserContext uc, PluginSyncData pluginData)
- Specified by:
getJarFileDatain interfaceIPluginHandler
-
getConfigFileData
public byte[] getConfigFileData(UserContext uc, PluginSyncData pluginData)
- Specified by:
getConfigFileDatain interfaceIPluginHandler
-
-