Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.search.ui.actions--filters

This contribution is part of XML component org.nuxeo.search.ui.actions inside nuxeo-search-ui-7.10-HF03.jar /OSGI-INF/search-actions-contrib.xml

Extension point

Extension point filters of component ActionService.

Contributed items

  • <filter append="true" id="rights">
          <rule grant="true">
            <facet>SavedSearch</facet>
          </rule>
        </filter>
  • <filter id="denyForDefaultSearch">
          <rule grant="false">
            <facet>DefaultSearch</facet>
          </rule>
        </filter>
  • <filter id="isSearchEnabled">
          <rule grant="true">
            <condition>#{userServicesContext.searchEnabled}</condition>
          </rule>
        </filter>
  • <filter id="nxqlSearchSelected">
          <rule grant="true">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>
  • <filter id="notNxqlSearchSelected">
          <rule grant="false">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>
  • <filter id="canSaveSearch">
          <rule grant="true">
            <condition>#{searchUIActions.getCanSaveSearch()}</condition>
          </rule>
        </filter>

XML source

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

    <filter append="true" id="rights">
      <rule grant="true">
        <facet>SavedSearch</facet>
      </rule>
    </filter>

    <filter id="denyForDefaultSearch">
      <rule grant="false">
        <facet>DefaultSearch</facet>
      </rule>
    </filter>

    <filter id="isSearchEnabled">
      <rule grant="true">
        <condition>#{userServicesContext.searchEnabled}</condition>
      </rule>
    </filter>

    <filter id="nxqlSearchSelected">
      <rule grant="true">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

    <filter id="notNxqlSearchSelected">
      <rule grant="false">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

    <filter id="canSaveSearch">
      <rule grant="true">
        <condition>#{searchUIActions.getCanSaveSearch()}</condition>
      </rule>
    </filter>

  </extension>