Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.ecm.platform.preview.actions--filters

This contribution is part of XML component org.nuxeo.ecm.platform.preview.actions inside nuxeo-preview-core-10.10-HF16.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point filters of component ActionService.

Registration Order

33
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <filter id="view_preview">
          <rule grant="true">
            <condition>#{previewActions.hasPreview}</condition>
          </rule>
        </filter>
  • <filter id="notHasPreview">
          <rule grant="true">
            <condition>#{not previewActions.hasPreview}</condition>
          </rule>
        </filter>
  • <filter id="popup_view_preview">
          <rule grant="true">
            <condition>#{previewActions.documentHasPreview(document)}</condition>
          </rule>
        </filter>
  • <filter id="hasBlobPreview">
          <rule grant="true">
            <condition>#{previewActions.hasBlobPreview(document, blobXPath)}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter id="view_preview">
      <rule grant="true">
        <condition>#{previewActions.hasPreview}</condition>
      </rule>
    </filter>

    <filter id="notHasPreview">
      <rule grant="true">
        <condition>#{not previewActions.hasPreview}</condition>
      </rule>
    </filter>

    <filter id="popup_view_preview">
      <rule grant="true">
        <condition>#{previewActions.documentHasPreview(document)}</condition>
      </rule>
    </filter>

    <filter id="hasBlobPreview">
      <rule grant="true">
        <condition>#{previewActions.hasBlobPreview(document, blobXPath)}</condition>
      </rule>
    </filter>

  </extension>