Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.picture.jsf.querymodel--model

This contribution is part of XML component org.nuxeo.ecm.platform.picture.jsf.querymodel inside nuxeo-platform-imaging-jsf-5.6.jar

Extension point

Extension point model of component QueryModelService.

Contributed items

  • <queryModel name="CURRENT_PICTUREBOOK_CHILDREN">
          <pattern>
            SELECT * FROM Document WHERE ecm:parentId = ? AND
            ecm:isCheckedInVersion = 0 AND ecm:mixinType != 'HiddenInNavigation'
          </pattern>
          <sortable defaultSortAscending="true" defaultSortColumn="dc:title" value="true"/>
          <max>20</max>
        </queryModel>

XML source

<extension point="model" target="org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService">
    <queryModel name="CURRENT_PICTUREBOOK_CHILDREN">
      <pattern>
        SELECT * FROM Document WHERE ecm:parentId = ? AND
        ecm:isCheckedInVersion = 0 AND ecm:mixinType != 'HiddenInNavigation'
      </pattern>
      <sortable defaultSortAscending="true" defaultSortColumn="dc:title" value="true"/>
      <max>20</max>
    </queryModel>
  </extension>