3.2.4.2.27.1 Commit (Opnum 11)
The Commit method is implemented as one of the methods for the IFsrmObject interface (section 3.2.4.2.10). This method has the same behavior as described in section 3.2.4.2.10.5 with the following additional behavior:
If blocked file groups is an empty list, the server MUST return FSRM_E_INVALID_DATASCREEN_DEFINITION.
If FSRM Base Object.Deleted is set to true for this Non-Persisted File Screen Instance (section 3.2.1.3.1.2), the server MUST remove the Persisted File Screen (section 3.2.1.3.1.1) from the List of Persisted File Screens (section 3.2.1.3) that has the same File Screen.Folder path as this Non-Persisted File Screen Instance, if one exists. This removal MUST occur even if other changes were made to the configuration of the Non-Persisted File Screen Instance. If there is no Persisted File Screen in the List of Persisted File Screens that has the same File Screen.Folder path as this Persisted File Screen being deleted, the server does not perform any action and MUST return zero. The server MUST return a nonzero error code if removal fails.
If FSRM Base Object.Deleted is set to false for this Non-Persisted File Screen Instance, the server MUST update the configuration data of the Persisted File Screen in the List of Persisted File Screens that has the same File Screen.Folder path as this Non-Persisted File Screen Instance, if one exists, with the configuration data from this instance, or return a nonzero error code.
If a Persisted File Screen does not exist with the same File Screen.Folder path and with FSRM Base Object.Deleted is set to false, the server MUST create a new Persisted File Screen, populate its configuration with the configuration from this Non-Persisted File Screen Instance, and add the new Persisted File Screen to the List of Persisted File Screens.
To update or populate the configuration data from a Non-Persisted File Screen Instance to a Persisted File Screen, the server MUST assign the values of all the properties listed below, of the Non-Persisted File Screen Instance to the corresponding properties of the Persisted File Screen.
FSRM Base Object.Description
Blocked file groups
Notifications (Actions) for each notification in the list, the server MUST assign the values of all properties that apply to the notification, depending on the type of action. See section 3.2.1.4 for details on the possible action types and the set of notification properties maintained for each type of action.
File screen mode
Template id