Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.collections.actions--filters

This contribution is part of XML component org.nuxeo.ecm.collections.actions inside nuxeo-platform-collections-jsf-7.10-HF01.jar /OSGI-INF/collection-actions-contrib.xml

Extension point

Extension point filters of component ActionService.

Contributed items

  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>Collections</type>
          </rule>
        </filter>
  • <filter id="canAddToCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canCurrentDocumentBeCollected()}
            </condition>
          </rule>
        </filter>
  • <filter id="canSelectedToBeAddedToCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canAddToDocsToCurrentCollection()}
            </condition>
          </rule>
        </filter>
  • <filter id="canAddSelectedToCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canAddSelectedDocumentBeCollected()}
            </condition>
          </rule>
        </filter>
  • <filter id="canRemoveFromCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canRemoveFromCollection()}
            </condition>
          </rule>
        </filter>
  • <filter append="true" id="rights">
          <rule grant="true">
            <facet>Collection</facet>
          </rule>
        </filter>
  • <filter id="collectionContentFilter">
          <rule grant="true">
            <facet>Collection</facet>
          </rule>
        </filter>
  • <filter append="true" id="can_zip_export">
          <rule grant="false">
            <type>Collections</type>
            <type>Collection</type>
          </rule>
        </filter>

XML source

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

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

    <filter id="canAddToCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canCurrentDocumentBeCollected()}
        </condition>
      </rule>
    </filter>

    <filter id="canSelectedToBeAddedToCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canAddToDocsToCurrentCollection()}
        </condition>
      </rule>
    </filter>

    <filter id="canAddSelectedToCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canAddSelectedDocumentBeCollected()}
        </condition>
      </rule>
    </filter>

    <filter id="canRemoveFromCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canRemoveFromCollection()}
        </condition>
      </rule>
    </filter>

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

    <filter id="collectionContentFilter">
      <rule grant="true">
        <facet>Collection</facet>
      </rule>
    </filter>

    <filter append="true" id="can_zip_export">
      <rule grant="false">
        <type>Collections</type>
        <type>Collection</type>
      </rule>
    </filter>

  </extension>