Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.ecm.collections.core.versioning.policies--policies

This contribution is part of XML component org.nuxeo.ecm.collections.core.versioning.policies inside nuxeo-platform-collections-core-9.2.jar /OSGI-INF/collection-versioning-contrib.xml

Extension Point

Extension point policies of component VersioningService.

Contributed Items

  • <policy beforeUpdate="true" id="no-versioning-for-collection-before-update" increment="NONE" order="2">
          <filter-id>collection-actions</filter-id>
        </policy>
  • <policy beforeUpdate="false" id="no-versioning-for-collection-after-update" increment="NONE" order="2">
          <filter-id>collection-actions</filter-id>
        </policy>

XML Source

<extension point="policies" target="org.nuxeo.ecm.core.versioning.VersioningService">
    <!-- Range [1, 10] for order is reserved for Nuxeo System Policies-->
    <!-- See https://doc.nuxeo.com/nxdoc/versioning/#-anchor-versioning-policies-versioning-policies-and-filters -->
    <policy beforeUpdate="true" id="no-versioning-for-collection-before-update" increment="NONE" order="2">
      <filter-id>collection-actions</filter-id>
    </policy>
    <policy beforeUpdate="false" id="no-versioning-for-collection-after-update" increment="NONE" order="2">
      <filter-id>collection-actions</filter-id>
    </policy>
  </extension>