Platform Explorer / Nuxeo Platform 5.6

Component org.nuxeo.webengine.blogs.core.types

Services

Extension points

Contributions

XML source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.webengine.blogs.core.types" version="1.0">

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

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

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

    <!-- BlogSite document type definition -->
    <doctype name="BlogSite" extends="Folder">
      <schema name="blog" />
      <schema name="webcontainer" />
      <schema name="files" />
      <facet name="SuperSpace" />
      <facet name="WebView" />
    </doctype>

    <!-- BlogPost document type definition -->
    <doctype name="BlogPost" extends="Document">
      <schema name="blogpost" />
      <schema name="webpage" />
      <schema name="dublincore" />
      <schema name="common" />
      <schema name="files" />
      <facet name="Commentable" />
    </doctype>

  </extension>

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

</component>

Documentation