Interface: IPluginFormPrePersist
Uses
Provides a way to build in a custom check if data should be saved.
If not, then an abort of further data processing can be caused at this point.
When using multiple Form PrePersists implementations, the order in which they are executed is not fixed. The order may therefore be different each time.
The Form-PrePersistors are basically executed before each form call in the respective application area (system or client plug-in) in which they were installed. It is recommended to first check in the implementation logic whether the PrePersistierer should be executed for the respective form processing. This can be made configurable, for example, by using Bundle-Properties.
Method signatures
IPluginFormPrePersistRetVal execute(IPluginFormPrePersistParams params) throws FCPluginException Transfer value: The IPluginFormPrePersistParams type provides access to the IFormRequestContext interface with the getFormRequestContext() method and thus to the following properties:
Return values: The return value must be of type IPluginFormPrePersistRetVal. A reference implementation is provided by the class PluginGenericFormProcessingRetVal. On initialisation, this expects a boolean value.
|
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article