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:
executeFormPreRenderPlugins
in interfaceIPluginHandler
-
executeFormPrePersistPlugins
public Map<String,IPluginFormPrePersistRetVal> executeFormPrePersistPlugins(UserContext uc, Mandant mandant, IPluginFormPrePersistParams params)
- Specified by:
executeFormPrePersistPlugins
in interfaceIPluginHandler
-
executeFormPreProcessPlugins
public Map<String,IPluginFormPreProcessRetVal> executeFormPreProcessPlugins(UserContext uc, Mandant mandant, IPluginFormPreProcessParams params)
- Specified by:
executeFormPreProcessPlugins
in interfaceIPluginHandler
-
executeFormPreRespondPlugins
public Map<String,IPluginFormPreRespondRetVal> executeFormPreRespondPlugins(UserContext uc, Mandant mandant, IPluginFormPreRespondParams params)
- Specified by:
executeFormPreRespondPlugins
in interfaceIPluginHandler
-
executeGenericPlugin
public IPluginGenericRetVal executeGenericPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginGenericParams params)
- Specified by:
executeGenericPlugin
in interfaceIPluginHandler
-
executeServletActionPlugin
public IPluginServletActionRetVal executeServletActionPlugin(UserContext uc, String pluginName, Mandant mandant, IPluginServletActionParams params)
- Specified by:
executeServletActionPlugin
in interfaceIPluginHandler
-
executeDatenquelle
public IPluginDataSourceRetVal executeDatenquelle(UserContext uc, String datasourceName, Mandant mandant, IPluginDataSourceParams params)
- Specified by:
executeDatenquelle
in interfaceIPluginHandler
-
getPluginNames
public Set<String> getPluginNames(UserContext uc, Mandant mandant, Class<? extends IFCPlugin> type)
- Specified by:
getPluginNames
in interfaceIPluginHandler
-
getPluginNameMap
public Map<EPluginScope,Set<String>> getPluginNameMap(UserContext uc, Mandant mandant, Class<? extends IFCPlugin> type)
- Specified by:
getPluginNameMap
in interfaceIPluginHandler
-
getValidationRulePlugins
public Map<String,IPluginVRuleModel> getValidationRulePlugins(Mandant mandant, Locale locale)
- Specified by:
getValidationRulePlugins
in interfaceIPluginHandler
-
getFormElementCataloguePlugins
public Map<String,IPluginFormElementCatalogue> getFormElementCataloguePlugins(UserContext uc, Mandant mandant, Locale locale)
- Specified by:
getFormElementCataloguePlugins
in interfaceIPluginHandler
-
getFormElementWidgetPlugins
public Map<String,IPluginFormElementWidget> getFormElementWidgetPlugins(UserContext uc, Mandant mandant, Locale locale)
- Specified by:
getFormElementWidgetPlugins
in interfaceIPluginHandler
-
deactivatePlugin
public void deactivatePlugin(UserContext uc, String runtimeKey, String scopeKey)
- Specified by:
deactivatePlugin
in interfaceIPluginHandler
-
getPluginFormResource
public IFormResource getPluginFormResource(UserContext uc, Integer clientId, String pluginName)
- Specified by:
getPluginFormResource
in interfaceIPluginHandler
- Parameters:
uc
- Current user context with the user, may be anonymous.clientId
- ID of the client.pluginName
- Name of the resource plugin.- Returns:
- The form resource from the form resource plugin.
-
getPluginFormResource
public IFormResource getPluginFormResource(UserContext uc, Integer clientId, String pluginName, IPluginFormResourceGetDataParams params)
- Specified by:
getPluginFormResource
in interfaceIPluginHandler
- Parameters:
uc
- Current user context with the user, may be anonymous.clientId
- ID of the client.pluginName
- Name of 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:
getPluginSyncData
in interfaceIPluginHandler
-
getJarFileData
public byte[] getJarFileData(UserContext uc, PluginSyncData pluginData)
- Specified by:
getJarFileData
in interfaceIPluginHandler
-
getConfigFileData
public byte[] getConfigFileData(UserContext uc, PluginSyncData pluginData)
- Specified by:
getConfigFileData
in interfaceIPluginHandler
-
-