Interface IPluginFormPreRenderRetVal
- 
- All Superinterfaces:
 IPluginReturnValue,Serializable
- All Known Implementing Classes:
 PluginFormPreRenderRetVal
public interface IPluginFormPreRenderRetVal extends IPluginReturnValue, Serializable
Interface for the return value of form pre render plugins.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleangetContinueProcessing()Map<String,List<String[]>>getFormValues()For each key in this map, the values for that key are written to the corresponding form field for that key (its name).default Map<Serializable,Serializable>getFrqSessionAttributeMap()A map of key-value pairs with FRQ session attributes that are written to theFRQSession.SerializableJSONObjectgetMetaDataJSON()The global JavaScript objectXFC_METADATA.pluginResults["pluginName"]contains the data of all form pre render plugins as returned by this method.Map<String,Serializable>getSessionAttributes()A map of key-value pairs with session attributes that are written to theHttpSession. 
 - 
 
- 
- 
Method Detail
- 
getMetaDataJSON
SerializableJSONObject getMetaDataJSON()
The global JavaScript objectXFC_METADATA.pluginResults["pluginName"]contains the data of all form pre render plugins as returned by this method.- Returns:
 - Data to be made available in the global JavaScript object 
XFC_METADATA. 
 
- 
getFormValues
Map<String,List<String[]>> getFormValues()
For each key in this map, the values for that key are written to the corresponding form field for that key (its name). When a form field already contains a value, it is overwritten.Also, please note that is is possible to pre-fill form fields with values from URL parameters. The values in this map take precedence over values from URL parameters. also replace values from URL parameters!
- Returns:
 Mapwith the form field values to be set.
 
- 
getContinueProcessing
boolean getContinueProcessing()
- Returns:
 trueto continue as usual, orfalseto prevent the form from being sent to the user. In the latter case, the user receives a general error page that the form could not be found.
 
- 
getSessionAttributes
Map<String,Serializable> getSessionAttributes()
A map of key-value pairs with session attributes that are written to theHttpSession. When the session already contains a value for a parameter, it is overwritten.- Returns:
 - A 
Mapwith session attributes to set on theHttpSession. - Since:
 - 6.0
 
 
- 
getFrqSessionAttributeMap
default Map<Serializable,Serializable> getFrqSessionAttributeMap()
A map of key-value pairs with FRQ session attributes that are written to theFRQSession. When the session already contains a value for a parameter, it is overwritten.- Returns:
 - A 
Mapwith FRQ session attributes to set on theFRQSession. - Since:
 - 7.4.0
 
 
 - 
 
 -