Platform Explorer / Nuxeo Platform 2023.12

Component org.nuxeo.ecm.platform.mail.core.types.contrib

Requirements

Resolution Order

418
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.mail.core.types.contrib">

  <require>org.nuxeo.ecm.core.CoreExtensions</require>

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

    <schema name="mail" src="schemas/mail.xsd" prefix="mail"/>
    <schema name="protocol" src="schemas/protocol.xsd" prefix="prot"/>

  </extension>

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

    <facet name="MailMessage" />

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

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

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

  </extension>

</component>