Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.ecm.platform.mail.core.types.contrib--doctype

This contribution is part of XML component org.nuxeo.ecm.platform.mail.core.types.contrib inside nuxeo-platform-mail-types-9.2.jar /OSGI-INF/nxmail-core-types-contrib.xml

Extension Point

Extension point doctype of component TypeService.

Contributed Items

  • <doctype extends="Document" name="MailMessage">
          <schema name="mail"/>
          <schema name="common"/>
          <schema name="dublincore"/>
          <schema name="uid"/>
          <schema name="files"/>
          <facet name="Commentable"/>
        </doctype>
  • <doctype extends="Folder" name="MailFolder">
          <schema name="protocol"/>
          <subtypes>
            <type>MailMessage</type>
          </subtypes>
        </doctype>
  • <doctype append="true" name="Workspace">
          <subtypes>
            <type>MailFolder</type>
          </subtypes>
        </doctype>

XML Source

<extension point="doctype" target="org.nuxeo.ecm.core.schema.TypeService">

    <doctype extends="Document" name="MailMessage">
      <schema name="mail"/>
      <schema name="common"/>
      <schema name="dublincore"/>
      <schema name="uid"/>
      <schema name="files"/>
      <facet name="Commentable"/>
    </doctype>

    <doctype extends="Folder" name="MailFolder">
      <schema name="protocol"/>
      <subtypes>
        <type>MailMessage</type>
      </subtypes>
    </doctype>

    <!-- allow mail folders within workspaces -->
    <doctype append="true" name="Workspace">
      <subtypes>
        <type>MailFolder</type>
      </subtypes>
    </doctype>

  </extension>