Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.social.workspace.content.template--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.social.workspace.content.template inside nuxeo-social-workspace-core-5.6.jar

Extension point

Extension point factoryBinding of component ContentTemplateService.

Contributed items

  • <factoryBinding append="true" factoryName="SimpleTemplateRootFactory" name="RootFactory" targetType="Root">
          <template>
            <templateItem id="collaboration" title="Collaboration" typeName="SocialDomain"/>
          </template>
        </factoryBinding>
  • <factoryBinding factoryName="SimpleTemplateFactory" name="SocialWorkspaceFactory" targetType="SocialWorkspace">
          <template>
            <templateItem description="Private publication space" id="private-section" title="Social Section" typeName="SocialSection"/>
            <templateItem description="Public publication space" id="public-section" title="Public Social Section" typeName="SocialSection"/>
            <templateItem description="Contains all news items from this Social Workspace" id="news-root" title="News" typeName="NewsItemsRoot"/>
            <templateItem description="Contains the public and private Dashboard Space" id="social" title="Dashboard Spaces container" typeName="DashboardSpacesContainer"/>
            <templateItem description="Contains the private Dashboard" id="privateDashboardSpace" path="social" title="Private Dashboard" typeName="Space"/>
            <templateItem description="Contains the public Dashboard" id="publicDashboardSpace" path="social" title="Public Dashboard" typeName="Space"/>
          </template>
        </factoryBinding>

XML source

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

    <factoryBinding append="true" factoryName="SimpleTemplateRootFactory" name="RootFactory" targetType="Root">
      <template>
        <templateItem id="collaboration" title="Collaboration" typeName="SocialDomain"/>
      </template>
    </factoryBinding>

    <factoryBinding factoryName="SimpleTemplateFactory" name="SocialWorkspaceFactory" targetType="SocialWorkspace">
      <template>
        <templateItem description="Private publication space" id="private-section" title="Social Section" typeName="SocialSection"/>
        <templateItem description="Public publication space" id="public-section" title="Public Social Section" typeName="SocialSection"/>
        <templateItem description="Contains all news items from this Social Workspace" id="news-root" title="News" typeName="NewsItemsRoot"/>
        <templateItem description="Contains the public and private Dashboard Space" id="social" title="Dashboard Spaces container" typeName="DashboardSpacesContainer"/>
        <templateItem description="Contains the private Dashboard" id="privateDashboardSpace" path="social" title="Private Dashboard" typeName="Space"/>
        <templateItem description="Contains the public Dashboard" id="publicDashboardSpace" path="social" title="Public Dashboard" typeName="Space"/>
      </template>
    </factoryBinding>
  </extension>