Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.core.versioning.VersioningDocumentAdapter--adapters

This contribution is part of XML component org.nuxeo.ecm.core.versioning.VersioningDocumentAdapter inside nuxeo-core-5.6.jar

Defines an adapter for documents having versioning info. The adapter interface is VersioningDocument and could be retrieved in a standard way from a document model with getAdapter(VersioningDocument.class)

Extension point

Extension point adapters of component DocumentAdapterService.

Contributed items

  • <adapter class="org.nuxeo.ecm.core.api.facet.VersioningDocument" factory="org.nuxeo.ecm.core.versioning.VersioningDocumentAdapterFactory"/>

XML source

<extension point="adapters" target="org.nuxeo.ecm.core.api.DocumentAdapterService">

    <documentation>
      Defines an adapter for documents having versioning
      info. The adapter
      interface is VersioningDocument and could be
      retrieved in a standard way
      from a document model with
      getAdapter(VersioningDocument.class)
    </documentation>

    <adapter class="org.nuxeo.ecm.core.api.facet.VersioningDocument" factory="org.nuxeo.ecm.core.versioning.VersioningDocumentAdapterFactory"/>
  </extension>