Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.publisher.web.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.publisher.web.actions inside nuxeo-platform-publisher-web-7.10.jar /OSGI-INF/actions-contrib.xml

Extension point

Extension point actions of component ActionService.

Contributed items

  • <action icon="" id="CURRENT_SELECTION_UNPUBLISH" label="command.document.unpublish" link="#{publishActions.unpublishDocumentsFromCurrentSelection}">
          <category>CURRENT_SELECTION_SECTIONS_LIST</category>
          <filter id="can_unpublish">
            <rule grant="true">
              <permission>AddChildren</permission>
              <facet>PublishSpace</facet>
              <condition>#{documentActions.canUnpublish}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_publish.gif" id="WORKLIST_PUBLISH" label="command.clipboard.publish" link="#{publishActions.publishWorkList()}">
          <category>DEFAULT_LIST</category>
          <filter id="canPublishWorkList">
            <rule grant="false">
              <condition>#{clipboardActions.workListEmpty}</condition>
            </rule>
            <rule grant="true">
              <facet>PublishSpace</facet>
              <permission>CanAskForPublishing</permission>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/file.gif" id="TAB_PUBLISH" label="action.publish.content" link="/incl/tabs/document_publish.xhtml" order="53" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>publish_document</filter-id>
          <filter-id>mutable_document</filter-id>
        </action>
  • <action icon="/icons/file.gif" id="TAB_ADMIN_PUBLICATION_TREES" label="action.admin.publication.tree" link="/incl/tabs/admin_publication_trees.xhtml" order="110" type="rest_document_link">
          <category>TAB_MANAGE_sub_tab</category>
          <filter-id>admin_publication_trees_filter</filter-id>
        </action>

XML source

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

    <action icon="" id="CURRENT_SELECTION_UNPUBLISH" label="command.document.unpublish" link="#{publishActions.unpublishDocumentsFromCurrentSelection}">
      <category>CURRENT_SELECTION_SECTIONS_LIST</category>
      <filter id="can_unpublish">
        <rule grant="true">
          <permission>AddChildren</permission>
          <facet>PublishSpace</facet>
          <condition>#{documentActions.canUnpublish}</condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/action_publish.gif" id="WORKLIST_PUBLISH" label="command.clipboard.publish" link="#{publishActions.publishWorkList()}">
      <category>DEFAULT_LIST</category>
      <filter id="canPublishWorkList">
        <rule grant="false">
          <condition>#{clipboardActions.workListEmpty}</condition>
        </rule>
        <rule grant="true">
          <facet>PublishSpace</facet>
          <permission>CanAskForPublishing</permission>
        </rule>
      </filter>
    </action>

    <action icon="/icons/file.gif" id="TAB_PUBLISH" label="action.publish.content" link="/incl/tabs/document_publish.xhtml" order="53" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>publish_document</filter-id>
      <filter-id>mutable_document</filter-id>
    </action>

    <action icon="/icons/file.gif" id="TAB_ADMIN_PUBLICATION_TREES" label="action.admin.publication.tree" link="/incl/tabs/admin_publication_trees.xhtml" order="110" type="rest_document_link">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>admin_publication_trees_filter</filter-id>
    </action>

  </extension>