Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.pageproviders.contrib

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>

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

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

    <coreQueryPageProvider name="search_media_all">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:primaryType = ?
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>100</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="search_media_by_title">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:primaryType = ?
        AND ecm:fulltext LIKE ?
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>100</pageSize>
    </coreQueryPageProvider>

    <genericPageProvider name="importFolders"
      class="org.nuxeo.ecm.webapp.provider.ImportFolderPageProvider">
      <pattern quoteParameters="false" escapeParameters="true">
        SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?%' AND ecm:mixinType !=
        'HiddenInNavigation' AND ecm:mixinType = 'Folderish'
        AND ecm:currentLifeCycleState != 'deleted'
        AND SORTED_COLUMN IS NOT NULL
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>10</pageSize>
    </genericPageProvider>

    <coreQueryPageProvider name="breadcrumb_user_domains">
      <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
      <pattern>
        SELECT * FROM Domain WHERE ecm:mixinType != 'HiddenInNavigation'
        AND ecm:currentLifeCycleState != 'deleted'
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>0</pageSize>
    </coreQueryPageProvider>

  </extension>
</component>

Documentation