Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.comment.coreTypes

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.comment.coreTypes">

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

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
    <schema name="comment" prefix="comment" src="schema/comment.xsd" />
  </extension>

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

    <doctype name="CommentRoot" extends="Folder">
      <facet name="HiddenInNavigation" />
    </doctype>

    <doctype name="Comment" extends="Document">
      <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>

  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
    point="types">
    <types>
      <type name="CommentRoot">default</type>
    </types>
    <types>
      <type name="HiddenFolder">default</type>
    </types>
  </extension>

</component>

Documentation