Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution studio.extensions.easyshare--chains

This contribution is part of XML component studio.extensions.easyshare inside nuxeo-easyshare-7.10-HF02.jar /OSGI-INF/extensions.xml

Extension point

Extension point chains of component OperationServiceComponent.

Contributed items

  • <chain id="addToAShareDocument">
          <operation id="Seam.GetCurrentDocument"/>
          <operation id="Context.SetInputAsVar">
            <param name="name" type="string">shareDocument</param>
          </operation>
          <operation id="Context.SetVar">
            <param name="name" type="string">shareDocumentPath</param>
            <param name="value" type="object">expr:Document.path</param>
          </operation>
          <operation id="Seam.FetchFromWorklist"/>
          <operation id="CreateProxyLive">
            <param name="Destination Path" type="string">expr:shareDocumentPath</param>
          </operation>
          <operation id="Context.RestoreDocumentInput">
            <param name="name" type="string">shareDocument</param>
          </operation>
          <operation id="Audit.Log">
            <param name="event" type="string">Documents added to the share</param>
            <param name="category" type="string">EasyShareFolderCategory</param>
            <param name="comment" type="string">expr:Some documents were added to the share folder @{Document["dc:title"]}</param>
          </operation>
          <operation id="Seam.Refresh"/>
          <operation id="Seam.AddInfoMessage">
            <param name="message" type="string">Added</param>
          </operation>
        </chain>
  • <chain id="navToParent">
          <operation id="Context.FetchDocument"/>
          <operation id="Document.GetParent"/>
          <operation id="Seam.NavigateTo"/>
        </chain>

XML source

<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">
    <chain id="addToAShareDocument">
      <operation id="Seam.GetCurrentDocument"/>
      <operation id="Context.SetInputAsVar">
        <param name="name" type="string">shareDocument</param>
      </operation>
      <operation id="Context.SetVar">
        <param name="name" type="string">shareDocumentPath</param>
        <param name="value" type="object">expr:Document.path</param>
      </operation>
      <operation id="Seam.FetchFromWorklist"/>
      <operation id="CreateProxyLive">
        <param name="Destination Path" type="string">expr:shareDocumentPath</param>
      </operation>
      <operation id="Context.RestoreDocumentInput">
        <param name="name" type="string">shareDocument</param>
      </operation>
      <operation id="Audit.Log">
        <param name="event" type="string">Documents added to the share</param>
        <param name="category" type="string">EasyShareFolderCategory</param>
        <param name="comment" type="string">expr:Some documents were added to the share folder @{Document["dc:title"]}</param>
      </operation>
      <operation id="Seam.Refresh"/>
      <operation id="Seam.AddInfoMessage">
        <param name="message" type="string">Added</param>
      </operation>
    </chain>
    <chain id="navToParent">
      <operation id="Context.FetchDocument"/>
      <operation id="Document.GetParent"/>
      <operation id="Seam.NavigateTo"/>
    </chain>
  </extension>