Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.platform.TemplateSources.pageproviders--providers

This contribution is part of XML component org.nuxeo.platform.TemplateSources.pageproviders inside nuxeo-template-rendering-core-9.2.jar /OSGI-INF/pageprovider-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="template_based">
          <pattern escapeParameters="true" quoteParameters="false">
            SELECT * FROM Document WHERE ecm:mixinType = 'TemplateBased' AND
            ecm:currentLifeCycleState != 'deleted' AND
            nxts:bindings/*/templateId IN (?) AND ecm:isCheckedInVersion = ?
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>20</pageSize>
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <coreQueryPageProvider name="template_based">
      <pattern escapeParameters="true" quoteParameters="false">
        SELECT * FROM Document WHERE ecm:mixinType = 'TemplateBased' AND
        ecm:currentLifeCycleState != 'deleted' AND
        nxts:bindings/*/templateId IN (?) AND ecm:isCheckedInVersion = ?
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>20</pageSize>
    </coreQueryPageProvider>

  </extension>