Platform Explorer / Nuxeo Platform LTS 2015 7.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-7.10.jar /OSGI-INF/actions-contrib.xml

Extension point

Extension point filters of component ActionService.

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>

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>

  </extension>