Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.ecm.platform.comment.coreTypes--doctype

This contribution is part of XML component org.nuxeo.ecm.platform.comment.coreTypes inside nuxeo-platform-comment-9.2.jar /OSGI-INF/comment-schemas-contrib.xml

Extension Point

Extension point doctype of component TypeService.

Contributed Items

  • <doctype extends="Folder" name="CommentRoot">
          <facet name="HiddenInNavigation"/>
          <facet name="HiddenInCreation"/>
          <subtypes>
            <type>Folder</type>
            <type>HiddenFolder</type>
          </subtypes>
        </doctype>
  • <doctype extends="Document" name="Comment">
          <schema name="comment"/>
          <schema name="common"/>
          <schema name="dublincore"/>
          <facet name="HiddenInNavigation"/>
          <prefetch>
            dc:title, dc:modified, comment.author, comment.text,
            comment.creationDate
          </prefetch>
        </doctype>
  • <doctype append="true" name="Domain">
          <subtypes>
            <type>CommentRoot</type>
          </subtypes>
        </doctype>

XML Source

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

    <doctype extends="Folder" name="CommentRoot">
      <facet name="HiddenInNavigation"/>
      <facet name="HiddenInCreation"/>
      <subtypes>
        <type>Folder</type>
        <type>HiddenFolder</type>
      </subtypes>
    </doctype>

    <doctype extends="Document" name="Comment">
      <schema name="comment"/>
      <schema name="common"/>
      <schema name="dublincore"/>
      <facet name="HiddenInNavigation"/>
      <prefetch>
        dc:title, dc:modified, comment.author, comment.text,
        comment.creationDate
      </prefetch>
    </doctype>

    <doctype append="true" name="Domain">
      <subtypes>
        <type>CommentRoot</type>
      </subtypes>
    </doctype>
  </extension>