Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.comment.workflow.operation.contrib--chains

This contribution is part of XML component org.nuxeo.ecm.platform.comment.workflow.operation.contrib inside nuxeo-platform-comment-workflow-7.10.jar /OSGI-INF/comment-operation-contrib.xml

Extension point

Extension point chains of component OperationServiceComponent.

Contributed items

  • <chain id="acceptComment">
          <operation id="Context.FetchDocument"/>
          <operation id="Comment.Moderate">
            <param name="accept" type="boolean">true</param>
          </operation>
        </chain>
  • <chain id="rejectComment">
          <operation id="Context.FetchDocument"/>
          <operation id="Comment.Moderate">
            <param name="accept" type="boolean">false</param>
          </operation>
        </chain>

XML source

<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">

    <chain id="acceptComment">
      <operation id="Context.FetchDocument"/>
      <operation id="Comment.Moderate">
        <param name="accept" type="boolean">true</param>
      </operation>
    </chain>

    <chain id="rejectComment">
      <operation id="Context.FetchDocument"/>
      <operation id="Comment.Moderate">
        <param name="accept" type="boolean">false</param>
      </operation>
    </chain>

  </extension>