Platform Explorer / Nuxeo Platform 9.2

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

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

Extension Point

Extension point policies of component VersioningService.

Contributed Items

  • <policy beforeUpdate="true" id="no-versioning-for-system-before-update" increment="NONE" order="1">
          <filter-id>system-document</filter-id>
        </policy>
  • <policy id="no-versioning-for-system-after-update" increment="NONE" order="1">
          <filter-id>system-document</filter-id>
        </policy>
  • <policy id="note-as-wiki" increment="MINOR" order="50">
          <filter-id>note-filter</filter-id>
        </policy>
  • <policy beforeUpdate="true" id="collaborative-save" increment="MINOR" order="100">
          <filter-id>last-contributor-different-filter</filter-id>
        </policy>

XML Source

<extension point="policies" target="org.nuxeo.ecm.core.versioning.VersioningService">
    <policy beforeUpdate="true" id="no-versioning-for-system-before-update" increment="NONE" order="1">
      <filter-id>system-document</filter-id>
    </policy>
    <policy id="no-versioning-for-system-after-update" increment="NONE" order="1">
      <filter-id>system-document</filter-id>
    </policy>
    <policy id="note-as-wiki" increment="MINOR" order="50">
      <filter-id>note-filter</filter-id>
    </policy>
    <policy beforeUpdate="true" id="collaborative-save" increment="MINOR" order="100">
      <filter-id>last-contributor-different-filter</filter-id>
    </policy>
  </extension>