Platform Explorer / Nuxeo Platform 2023.10

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

This contribution is part of XML component org.nuxeo.ecm.platform.picture.actions inside nuxeo-platform-imaging-jsf-2023.10.13.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point filters of component ActionService.

Registration Order

20
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="grantpicturebook">
          <rule grant="true">
            <type>PictureBook</type>
          </rule>
        </filter>
  • <filter id="grantpicture">
          <rule grant="true">
            <type>Picture</type>
          </rule>
        </filter>
  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>PictureBook</type>
          </rule>
        </filter>
  • <filter append="true" id="importFile">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>PictureBook</type>
          </rule>
        </filter>
  • <filter id="contentViewShowSlideshow">
          <rule grant="true">
            <condition>
              #{nxu:test(empty showSlideshow,
              contentView.currentResultLayout.showSlideshow,
              showSlideshow)}
            </condition>
          </rule>
        </filter>
  • <filter id="canRecomputePictureViews">
          <rule grant="true">
            <permission>Write</permission>
          </rule>
        </filter>
  • <filter id="canRotatePicture">
          <rule grant="true">
            <permission>Write</permission>
          </rule>
        </filter>

XML Source

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

    <filter id="grantpicturebook">
      <rule grant="true">
        <type>PictureBook</type>
      </rule>
    </filter>

    <!-- not used since 5.5, keep it for compatibility -->
    <filter id="grantpicture">
      <rule grant="true">
        <type>Picture</type>
      </rule>
    </filter>

    <filter append="true" id="create">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>PictureBook</type>
      </rule>
    </filter>

    <filter append="true" id="importFile">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>PictureBook</type>
      </rule>
    </filter>

    <filter id="contentViewShowSlideshow">
      <rule grant="true">
        <condition>
          #{nxu:test(empty showSlideshow,
          contentView.currentResultLayout.showSlideshow,
          showSlideshow)}
        </condition>
      </rule>
    </filter>

    <filter id="canRecomputePictureViews">
      <rule grant="true">
        <permission>Write</permission>
      </rule>
    </filter>

    <filter id="canRotatePicture">
      <rule grant="true">
        <permission>Write</permission>
      </rule>
    </filter>

  </extension>