Platform Explorer / CMF 1.8

Contribution org.nuxeo.cm.contentTemplate--factoryBinding

This contribution is part of XML component org.nuxeo.cm.contentTemplate inside nuxeo-case-management-core-1.8.jar

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).

Extension Point

Extension point factoryBinding of component ContentTemplateService.

Contributed Items

  • <factoryBinding factoryName="SimpleTemplateRootFactory" name="RootFactory" targetType="Root">
          <acl>
            <ace granted="true" permission="Everything" principal="Administrator"/>
            <ace granted="true" permission="Everything" principal="administrators"/>
          </acl>
          <template>
            <templateItem description="Case Management" id="case-management" title="Case Management" typeName="Domain">
            </templateItem>
          </template>
        </factoryBinding>
  • <factoryBinding factoryName="SimpleTemplateFactory" name="DomainFactory" targetType="Domain">
          <template>
            <templateItem id="case-root" title="Case" typeName="CaseRoot"/>
            <templateItem id="mailbox-root" title="Mailbox" typeName="MailboxRoot"/>
            <templateItem description="Sections" id="sections" title="Sections" typeName="SectionRoot"/>
          </template>
        </factoryBinding>

XML Source

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

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

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

  </extension>