Platform Explorer / CMF 1.8

Component org.nuxeo.cm.contentTemplate

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.cm.contentTemplate">

  <require>
    org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib
  </require>

  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factoryBinding">

    <documentation>
      Sets one domain by default, in each domain a CaseItemFolder is created
      (will hold case items in date hierarchies) and a MailboxRoot (will hold
      mailboxes).
    </documentation>

    <factoryBinding name="RootFactory" factoryName="SimpleTemplateRootFactory"
      targetType="Root">
      <acl>
        <ace principal="Administrator" permission="Everything" granted="true" />
        <ace principal="administrators" permission="Everything" granted="true" />
      </acl>
      <template>
        <templateItem typeName="Domain" id="case-management"
          title="Case Management" description="Case Management">
        </templateItem>
      </template>
    </factoryBinding>

    <factoryBinding name="DomainFactory" factoryName="SimpleTemplateFactory"
      targetType="Domain">
      <template>
        <templateItem typeName="CaseRoot" id="case-root" title="Case" />
        <templateItem typeName="MailboxRoot" id="mailbox-root" title="Mailbox" />
        <templateItem typeName="SectionRoot" id="sections" title="Sections" description="Sections"/>
      </template>
    </factoryBinding>

  </extension>

</component>