Platform Explorer / CMF 1.8

Component org.nuxeo.cm.schemas

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.cm.schemas">

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

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

    <schema name="base" src="schemas/base.xsd" />

    <schema name="distribution" src="schemas/distribution.xsd" prefix="cmdist" />

    <schema name="case_item" src="schemas/case_item.xsd" prefix="cmdoc" />

    <schema name="case" src="schemas/case.xsd" prefix="case" />

    <schema name="case_link" src="schemas/case_link.xsd" prefix="cslk" />

    <schema name="actionnable_case_link" src="schemas/actionnable_case_link.xsd"
      prefix="acslk" />

    <schema name="mailbox" src="schemas/mailbox.xsd" prefix="mlbx" />

    <schema name="contact" src="schemas/contact.xsd" prefix="cmct" />

    <schema name="routing_task" src="schemas/routing_task.xsd" prefix="rtsk" />

  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
  
    <facet name="Mailbox" />
    <facet name="CaseLink" />

    <facet name="Distributable">
      <schema name="distribution" />
    </facet>

    <facet name="CaseGroupable">
      <schema name="case_item" />
    </facet>

    <doctype name="MailboxRoot" extends="Document">
      <schema name="common" />
      <schema name="dublincore" />
      <facet name="Folderish" />
      <facet name="SuperSpace" />
    </doctype>

    <doctype name="CaseRoot" extends="Document">
      <schema name="common" />
      <schema name="dublincore" />
      <facet name="Folderish" />
      <facet name="SuperSpace" />
    </doctype>

    <doctype name="CaseItem" extends="Document">
      <schema name="common" />
      <schema name="dublincore" />
      <schema name="contact" />
      <schema name="uid" />
      <schema name="file" />
      <schema name="files" />
      <facet name="Distributable" />
      <facet name="CaseGroupable" />
      <facet name="Commentable" />
      <facet name="Classifiable" />
    </doctype>

    <doctype name="Case" extends="Folder">
      <schema name="common" />
      <schema name="dublincore" />
      <schema name="case" />
      <facet name="Distributable" />
      <facet name="Routable" />
      <facet name="Commentable" />
      <facet name="Classifiable" />
    </doctype>

    <doctype name="Mailbox" extends="Document">
      <schema name="common" />
      <schema name="dublincore" />
      <schema name="distribution" />
      <schema name="mailbox" />
      <!-- Mailbox are requested when the user in loggin in but its principal 
        is not set yet. If not prefetch, then this will thrown an exception when 
        the check is done to get the propery. -->
      <prefetch>mlbx:mailbox_id</prefetch>
      <facet name="Folderish" />
      <facet name="Mailbox" />
    </doctype>

    <doctype name="CaseLink" extends="Document">
      <schema name="common" />
      <schema name="dublincore" />
      <schema name="uid" />
      <schema name="contact" />
      <schema name="distribution" />
      <schema name="case_link" />
      <schema name="actionnable_case_link" />
      <facet name="CaseLink" />
    </doctype>

    <doctype name="DistributionTask" extends="DocumentRouteStep">
      <schema name="routing_task" />
      <facet name="RouteStep" />
      <facet name="Commentable" />
    </doctype>

    <doctype name="GenericDistributionTask" extends="DocumentRouteStep">
      <schema name="routing_task" />
      <facet name="RouteStep" />
      <facet name="Commentable" />
    </doctype>

    <doctype name="PersonalDistributionTask" extends="DocumentRouteStep">
      <schema name="routing_task" />
      <facet name="RouteStep" />
      <facet name="Commentable" />
    </doctype>

    <doctype name="DistributionStep" extends="DocumentRouteStep">
      <schema name="routing_task" />
      <facet name="RouteStep" />
      <facet name="Commentable" />
    </doctype>


  </extension>
</component>