Platform Explorer / Nuxeo Platform 2023.11

Component org.nuxeo.ecm.webapp.pageproviders.contrib

Resolution Order

The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.


XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.webapp.pageproviders.contrib">

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

      This contribution declares page providers used by UI components.

      The page provider 'tree_children' is used to list children in the tree

      Note the "ecm:isProxy = 0" predicate optimization that is required to
      simplify greatly the request performed by the tree manager when browsing
      on folders with a lot of files when using the Visible SQL Storage.

      The page provider 'default_document_suggestion' is used by default by the
      component performing document suggestions.

    <coreQueryPageProvider name="tree_children">
      <property name="maxResults">PAGE_SIZE</property>
        SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:isProxy = 0 AND
        ecm:mixinType = 'Folderish' AND ecm:mixinType != 'HiddenInNavigation'
        AND ecm:isVersion = 0 AND ecm:isTrashed = 0
      <sort column="ecm:pos" ascending="true" />
      <sort column="dc:title" ascending="true" />

    <coreQueryPageProvider name="default_document_suggestion">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern quoteParameters="false" escapeParameters="true">
        SELECT * FROM Document WHERE ecm:fulltext LIKE '?*' AND ecm:mixinType !=
        'HiddenInNavigation' AND ecm:isVersion = 0 AND
        ecm:isTrashed = 0
      <!-- sort column="dc:title" ascending="true" / sort by fulltext relevance -->

    <coreQueryPageProvider name="domain_documents">
      <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        SELECT * FROM Document WHERE ecm:path STARTSWITH ?
        AND ecm:mixinType != 'Folderish' AND ecm:mixinType !=
        'SystemDocument' AND ecm:mixinType !=
        'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isProxy = 0
        AND ecm:isTrashed = 0
      <sort column="dc:modified" ascending="false" />