Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.faceted.search.jsf.pageproviders--providers

This contribution is part of XML component org.nuxeo.ecm.platform.faceted.search.jsf.pageproviders inside nuxeo-platform-faceted-search-jsf-5.6.jar

Extension point

Extension point providers of component PageProviderService.

Contributed items

  • <coreQueryPageProvider name="USER_SAVED_SEARCHES">
            <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
            <pattern>
              SELECT * FROM FacetedSearch WHERE dc:creator = ? AND
              ecm:currentLifeCycleState != 'deleted' AND ecm:mixinType != 'HiddenInNavigation'
            </pattern>
            <sort ascending="true" column="dc:title"/>
          </coreQueryPageProvider>
  • <coreQueryPageProvider name="OTHER_USERS_SAVED_SEARCHES">
            <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
            <pattern>
              SELECT * FROM FacetedSearch WHERE dc:creator != ? AND
              ecm:currentLifeCycleState != 'deleted' AND ecm:mixinType != 'HiddenInNavigation'
            </pattern>
            <sort ascending="true" column="dc:title"/>
          </coreQueryPageProvider>

XML source

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

      <coreQueryPageProvider name="USER_SAVED_SEARCHES">
        <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        <pattern>
          SELECT * FROM FacetedSearch WHERE dc:creator = ? AND
          ecm:currentLifeCycleState != 'deleted' AND ecm:mixinType != 'HiddenInNavigation'
        </pattern>
        <sort ascending="true" column="dc:title"/>
      </coreQueryPageProvider>

      <coreQueryPageProvider name="OTHER_USERS_SAVED_SEARCHES">
        <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        <pattern>
          SELECT * FROM FacetedSearch WHERE dc:creator != ? AND
          ecm:currentLifeCycleState != 'deleted' AND ecm:mixinType != 'HiddenInNavigation'
        </pattern>
        <sort ascending="true" column="dc:title"/>
      </coreQueryPageProvider>

  </extension>