3.2.4.2.20.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 behavior specified in sections 3.2.4.2.10.5 and 3.2.4.2.14.1 with the following additions:

  • If quota limit is zero, the server MUST return E_INVALIDARG.

  • If the FSRM Base Object.Deleted property is set to true for this Non-Persisted Directory Quota Template Instance (section 3.2.1.2.3.2), the server MUST remove the Persisted Directory Quota Template (section 3.2.1.2.3.1) from the List of Persisted Directory Quota Templates (section 3.2.1.2), which has the same Directory Quota.Folder path property as this Non-Persisted Directory Quota Template Instance, if one exists. This removal MUST occur even if other changes are made to the configuration of the Non-Persisted Directory Quota Template Instance. If there is no Persisted Directory Quota Template (section 3.2.1.2.3.1) from the List of Persisted Directory Quota Templates (section 3.2.1.2), which has the same Directory Quota.Folder path property as this Non-Persisted Directory Quota Template Instance (section 3.2.1.2.3.2) 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 the FSRM Base Object.Deleted property is set to false for this Non-Persisted Directory Quota Template Instance, the server MUST update the configuration data of the Persisted Directory Quota Template in the List of Persisted Directory Quota Templates that has the same Directory Quota.Folder path property as this Non-Persisted Directory Quota Template Instance, if one exists, with the configuration data from this instance, or return a nonzero error code.

  • If a Persisted Directory Quota Template does not exist with the same Directory Quota.Folder path, and FSRM Base Object.Deleted is set to false, the server MUST create a new Persisted Directory Quota Template, populate its configuration from this Non-Persisted Directory Quota Template Instance, and add the new Persisted Directory Quota Template to the List of Persisted Directory Quota Templates.

To update or populate the configuration data from a Non-Persisted Directory Quota Template Instance to a Persisted Directory Quota Template, the server MUST assign the values of all the properties listed below, of the Non-Persisted Directory Quota Template Instance to the corresponding properties of the Persisted Directory Quota Template.

  • FSRM Base Object.Description

  • Directory Quota Template.Name

  • Quota limit

  • Quota limit mode

  • Quota enable/disable

  • Thresholds

  • 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.