Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.rendition.publisher

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.rendition.publisher">

  <require>org.nuxeo.ecm.platform.publisher.task.contrib</require>

  <extension
    target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
    point="factory">

    <documentation>
      Factory used to publish a Rendition of the given Document.
    </documentation>
    <publishedDocumentFactory name="RenditionPublication"
      class="org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationFactory"
      validatorsRule="CoreValidatorsRule" />

  </extension>

  <extension
    target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
    point="tree">

    <documentation>
      PublicationTree that allows retrieving all the published Rendition documents
      in addition to the 'standard' proxies for the given document.
    </documentation>
    <publicationTree name="RenditionPublicationCoreTree"
      class="org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationCoreTree" />

  </extension>

  <extension
    target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
    point="treeInstance">

    <documentation>
      Override the default PublicationTree used in Nuxeo to use the one handling
      Rendition documents.
    </documentation>
    <publicationTreeConfig name="DefaultSectionsTree"
      tree="RenditionPublicationCoreTree" factory="RenditionPublication"
      localSectionTree="true" title="label.publication.tree.local.sections">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>

</component>

Documentation