Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.webapp.seam.debug.action--filters

This contribution is part of XML component org.nuxeo.ecm.webapp.seam.debug.action inside nuxeo-platform-webapp-base-5.6.jar

Extension point

Extension point filters of component ActionService.

Contributed items

  • <filter id="restoreVersionDisplay">
          <rule grant="true">
            <condition>#{deleteActions.restoreActionDisplay()}
            </condition>
          </rule>
        </filter>
  • <filter id="devModeEnabledForAdmin">
          <rule grant="true">
            <condition>#{seamReload.getCanTriggerFlush()}</condition>
          </rule>
        </filter>
  • <filter id="seamHotReloadIsEnabled">
          <rule grant="true">
            <condition>#{seamHotReloadIsEnabled}</condition>
          </rule>
        </filter>
  • <filter id="hasSubscriptions">
          <rule grant="true">
            <condition>#{subscriptionAction.getSelectedNotifications().size() &gt; 0}</condition>
          </rule>
        </filter>
  • <filter id="hasNoSubscriptions">
          <rule grant="true">
            <condition>#{subscriptionAction.getSelectedNotifications().size() == 0}</condition>
          </rule>
        </filter>
  • <filter id="canSubscribe">
          <rule grant="false">
            <type>Domain</type>
            <type>WorkspaceRoot</type>
          </rule>
        </filter>
  • <filter id="documentHasBlobs">
          <rule grant="true">
            <condition>
              #{popupHelper.isDocumentHasBlobs(document)}
            </condition>
          </rule>
        </filter>
  • <filter id="hasNote">
          <rule grant="true">
            <schema>note</schema>
          </rule>
        </filter>
  • <filter id="notHasNote">
          <rule grant="false">
            <schema>note</schema>
          </rule>
        </filter>

XML source

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

    <filter id="restoreVersionDisplay">
      <rule grant="true">
        <condition>#{deleteActions.restoreActionDisplay()}
        </condition>
      </rule>
    </filter>

    <filter id="devModeEnabledForAdmin">
      <rule grant="true">
        <condition>#{seamReload.getCanTriggerFlush()}</condition>
      </rule>
    </filter>

    <filter id="seamHotReloadIsEnabled">
      <rule grant="true">
        <condition>#{seamHotReloadIsEnabled}</condition>
      </rule>
    </filter>

    <filter id="hasSubscriptions">
      <rule grant="true">
        <condition>#{subscriptionAction.getSelectedNotifications().size() &gt; 0}</condition>
      </rule>
    </filter>

    <filter id="hasNoSubscriptions">
      <rule grant="true">
        <condition>#{subscriptionAction.getSelectedNotifications().size() == 0}</condition>
      </rule>
    </filter>

    <filter id="canSubscribe">
      <rule grant="false">
        <type>Domain</type>
        <type>WorkspaceRoot</type>
      </rule>
    </filter>

    <filter id="documentHasBlobs">
      <rule grant="true">
        <condition>
          #{popupHelper.isDocumentHasBlobs(document)}
        </condition>
      </rule>
    </filter>

    <filter id="hasNote">
      <rule grant="true">
        <schema>note</schema>
      </rule>
    </filter>

    <filter id="notHasNote">
      <rule grant="false">
        <schema>note</schema>
      </rule>
    </filter>

  </extension>