Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.publisher.contrib

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.publisher.contrib">

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

    <documentation>
      Default ValidatorsRule to use: the validators will be principals having
      manage everything rights in the sections where the document
      has been published.

      @author Thomas Roger(troger@nuxeo.com)
    </documentation>

    <validatorsRule name="CoreValidatorsRule"
                    class="org.nuxeo.ecm.platform.publisher.rules.DefaultValidatorsRule"/>

  </extension>

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

    <documentation>
      Default PublishedDocumentFactories available to use.

      - CoreProxy: to manage published documents based on a proxy

      - LocalFile: to manage published documents on the file system

      - RemoteDocModel: to manage published documents on the server when using
      the remote publication

      @author Thomas Roger(troger@nuxeo.com)
    </documentation>

    <publishedDocumentFactory name="CoreProxy"
                              class="org.nuxeo.ecm.platform.publisher.impl.core.CoreProxyFactory"/>
    <publishedDocumentFactory name="LocalFile"
                              class="org.nuxeo.ecm.platform.publisher.impl.localfs.FSPublishedDocumentFactory"/>
    <publishedDocumentFactory name="RemoteDocModel"
                              class="org.nuxeo.ecm.platform.publisher.remoting.server.SimpleExternalDocumentModelFactory"/>
    <publishedDocumentFactory name="ClientProxyFactory"
                              class="org.nuxeo.ecm.platform.publisher.remoting.client.ClientProxyFactory"/>

  </extension>

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

    <documentation>
      Default PublicationTrees available to use.

      - CoreTree: tree to use when publishing on local sections

      - RootSectionsCoreTree: tree to use when publishing on local sections but
      using the information stored in the Workspace to get the sections where
      a publication is allowed

      - LocalFSTree: tree to use when publishing on the file system

      - ClientForRemoteTree: tree to use on the client side when using the
      remote publication

      - CoreTreeWithExternalDocs: tree to use on the server side when using the
      remote publication

      @author Thomas Roger(troger@nuxeo.com)
    </documentation>

    <publicationTree name="CoreTree"
                     class="org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree"/>
    <publicationTree name="RootSectionsCoreTree"
                     class="org.nuxeo.ecm.platform.publisher.impl.core.RootSectionsPublicationTree"/>
    <publicationTree name="LocalFSTree"
                     class="org.nuxeo.ecm.platform.publisher.impl.localfs.LocalFSPublicationTree"/>
    <publicationTree name="ClientForRemoteTree"
                     class="org.nuxeo.ecm.platform.publisher.remoting.client.ClientRemotePublicationTree"/>
    <publicationTree name="CoreTreeWithExternalDocs"
                     class="org.nuxeo.ecm.platform.publisher.remoting.server.CoreTreeWithExternalDocs"/>

  </extension>

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

    <documentation>
      Contribute the default PublicationTree instance to be able to publish
      documents in local sections.
    </documentation>

    <publicationTreeConfig name="DefaultSectionsTree" tree="RootSectionsCoreTree"
                           factory="CoreProxy" 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