Pre-persist
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.
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:
- getCurrentUser(): the current user.
- getUserContext(): the current user context, for example to be able to perform database operations
- getProject(): the current project
- getMandant(): the current client
- getTask(): the current task
- getFormVersion(): the current version of the form with access to all contained form elements
- getLocale(): information about the currently selected language and region
- getSessionAttributeMap(): a map with the current session parameters
- getFrontendServer(): access to the frontend server object if called via frontend server
- true
- Further processing in Xima® Formcycle is continued.
- false
- Further processing in Xima® Formcycle is aborted.