Class PluginFormPreProcessParams
- java.lang.Object
- 
- de.xima.fc.plugin.models.params.form.PluginFormPreProcessParams
 
- 
- All Implemented Interfaces:
- IPluginParameters,- IFormLifecycleExecuteParams,- IPluginFormPreProcessParams,- Serializable
 
 public class PluginFormPreProcessParams extends Object implements IPluginFormPreProcessParams - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description PluginFormPreProcessParams(IFormRequestContext ctx, Vorgang vorgang)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IFormRequestContextgetFormRequestContext()Map<Serializable,Serializable>getFrqSessionAttributeMap()Gets the values stored in the currentFRQSession.com.alibaba.fastjson.JSONObjectgetLdapUserData()Deprecated.Map<String,Serializable>getSessionAttributeMap()Gets the values from the currentHttpSession.com.alibaba.fastjson.JSONObjectgetUserData()VorganggetVorgang()
 
- 
- 
- 
Constructor Detail- 
PluginFormPreProcessParamspublic PluginFormPreProcessParams(IFormRequestContext ctx, Vorgang vorgang) 
 
- 
 - 
Method Detail- 
getFormRequestContextpublic IFormRequestContext getFormRequestContext() - Specified by:
- getFormRequestContextin interface- IFormLifecycleExecuteParams
- Specified by:
- getFormRequestContextin interface- IPluginFormPreProcessParams
- Returns:
- The current form request context that may be used to access the submitted form data.
 
 - 
getVorgangpublic Vorgang getVorgang() - Specified by:
- getVorgangin interface- IPluginFormPreProcessParams
- Returns:
- The current Vorgang. It is newly created if the form was just submitted for the first time. When the form is resubmitted, this is the existingVorgang.
 
 - 
getUserDatapublic com.alibaba.fastjson.JSONObject getUserData() - Specified by:
- getUserDatain interface- IFormLifecycleExecuteParams
- Specified by:
- getUserDatain interface- IPluginFormPreProcessParams
- Returns:
- A JSONObjectwith the current data for the authenticated user. When the current form does not require authorization, this may return an emptyJSONObject
 
 - 
getLdapUserData@Deprecated public com.alibaba.fastjson.JSONObject getLdapUserData() Deprecated.- Specified by:
- getLdapUserDatain interface- IFormLifecycleExecuteParams
- Specified by:
- getLdapUserDatain interface- IPluginFormPreProcessParams
- Returns:
- A JSONObjectwith the current LDAP data for the authenticated user. When the current form does not require authorization, or when the current user did not authorize via LDAP, this may return an emptyJSONObject
 
 - 
getFrqSessionAttributeMappublic Map<Serializable,Serializable> getFrqSessionAttributeMap() Description copied from interface:IFormLifecycleExecuteParamsGets the values stored in the currentFRQSession. The servlet plugin may be executed on a different server that does not have direct access to the HTTP request: Please note that changes to this map are NOT reflected or saved in theFRQSession. To modify the FRQ session attributes, use theIPluginFormPrePersistRetVal.getFrqSessionAttributeMap()return value.- Specified by:
- getFrqSessionAttributeMapin interface- IFormLifecycleExecuteParams
- Returns:
- Attributes from the form request session of the current request. If no such session exists, this is an empty map.
 
 - 
getSessionAttributeMappublic Map<String,Serializable> getSessionAttributeMap() Description copied from interface:IFormLifecycleExecuteParamsGets the values from the currentHttpSession. The servlet plugin may be executed on a different server that does not have direct access to the HTTP request: Please note that changes to this map are NOT reflected or saved in theHttpSession. To modify the session attributes, use theIPluginFormPreRenderRetVal.getSessionAttributes()return value.- Specified by:
- getSessionAttributeMapin interface- IFormLifecycleExecuteParams
- Returns:
- A map Mapwith all attributes of the currentHttpSession.
 
 
- 
 
-