Klasse ReportPlugin

java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.ReportPlugin
Alle implementierten Schnittstellen:
Plugin

public class ReportPlugin extends AbstractPlugin
This plug-in executes a Imixs Report definition and stores the result either into the current workitem ($file) or into the file system. The corresponding BPMN event provide the following properties:

  • txtReportName=Name of the Report to be processed
  • txtReportFilePath= optional filename or file path the result will be saved
  • txtReportTarget = where the result is saved (0=workitem, 2= disk)

CHANGES V 2.0

In the current version 2.0, only the processed document will be used as the xml input source for the XSL transformation. A search query will currently not be evaluated.

Version:
2.0
Autor:
Ralph Soika
  • Felddetails

  • Konstruktordetails

    • ReportPlugin

      public ReportPlugin()
  • Methodendetails

    • run

      public ItemCollection run(ItemCollection adocumentContext, ItemCollection adocumentActivity) throws PluginException
      Executes a report defined defined by the event in the attribute 'txtReportName'.

      The XML Source used by this method is the XML representation of the current document. The Query Statement will not be evaluated

      Parameter:
      adocumentContext - the workitem to be processed
      adocumentActivity - the workflow event containing the processing instructions
      Gibt zurück:
      updated workitem for further processing
      Löst aus:
      PluginException
    • close

      public void close(int status) throws PluginException
      Löst aus:
      PluginException