Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.platform.audit.contentView.contrib--contentViews

This contribution is part of XML component org.nuxeo.platform.audit.contentView.contrib inside nuxeo-platform-audit-client-7.10.jar /OSGI-INF/content-view-contrib.xml

Extension point

Extension point contentViews of component ContentViewService.

Contributed items

  • <contentView name="DOCUMENT_HISTORY">
    
          <title>label.contentview.document.history</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
    
          <pageProvider name="DOCUMENT_HISTORY_PROVIDER">
            <property name="coreSession">#{documentManager}</property>
            <property name="generateUIComments">true</property>
            <parameter>#{currentDocument.id}</parameter>
          </pageProvider>
    
          <searchLayout filterDisplayType="quick" name="basicauditsearch"/>
          <showFilterForm>true</showFilterForm>
    
          <showPageSizeSelector>true</showPageSizeSelector>
          <useGlobalPageSize>true</useGlobalPageSize>
          <refresh>
            <event>documentChanged</event>
            <event>documentCreated</event>
            <event>documentChildrenChanged</event>
          </refresh>
          <cacheSize>10</cacheSize>
          <cacheKey>#{currentDocument.repositoryName}_#{currentDocument.id}</cacheKey>
    
          <resultLayouts>
            <layout iconPath="/icons/document_listing_icon.png" name="history_listing" showCSVExport="true" showPDFExport="false" title="history_listing" translateTitle="true"/>
          </resultLayouts>
    
        </contentView>

XML source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="DOCUMENT_HISTORY">

      <title>label.contentview.document.history</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>

      <pageProvider name="DOCUMENT_HISTORY_PROVIDER">
        <property name="coreSession">#{documentManager}</property>
        <property name="generateUIComments">true</property>
        <parameter>#{currentDocument.id}</parameter>
      </pageProvider>

      <searchLayout filterDisplayType="quick" name="basicauditsearch"/>
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentCreated</event>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{currentDocument.repositoryName}_#{currentDocument.id}</cacheKey>

      <resultLayouts>
        <layout iconPath="/icons/document_listing_icon.png" name="history_listing" showCSVExport="true" showPDFExport="false" title="history_listing" translateTitle="true"/>
      </resultLayouts>

    </contentView>

  </extension>