Platform Explorer / server 10.10

Component org.nuxeo.ecm.comment.pageprovider

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.comment.pageprovider">

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

    <coreQueryPageProvider name="GET_COMMENT_AS_EXTERNAL_ENTITY">
      <pattern>
        SELECT * FROM Comment WHERE externalEntity:entityId = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_COMMENTS_FOR_DOCUMENT">
      <pattern>
        SELECT * FROM Comment WHERE comment:parentId = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_ANNOTATION_AS_EXTERNAL_ENTITY">
      <pattern>
        SELECT * FROM Annotation WHERE externalEntity:entityId = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_ANNOTATIONS_FOR_DOCUMENT">
      <pattern>
        SELECT * FROM Annotation WHERE comment:parentId = ? AND annotation:xpath = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

  </extension>

</component>

Documentation