public class ReportPlugin
extends org.imixs.workflow.plugins.jee.AbstractPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_CONTEXT |
static String |
INVALID_REPORT_DEFINITION |
static String |
REPORT_UNDEFINED |
| Constructor and Description |
|---|
ReportPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(int status) |
void |
init(org.imixs.workflow.WorkflowContext actx) |
int |
run(org.imixs.workflow.ItemCollection adocumentContext,
org.imixs.workflow.ItemCollection adocumentActivity)
creates report defined by the txtReportName.
|
public static final String INVALID_CONTEXT
public static final String REPORT_UNDEFINED
public static final String INVALID_REPORT_DEFINITION
public void init(org.imixs.workflow.WorkflowContext actx)
throws org.imixs.workflow.exceptions.PluginException
init in interface org.imixs.workflow.Plugininit in class org.imixs.workflow.plugins.jee.AbstractPluginorg.imixs.workflow.exceptions.PluginExceptionpublic int run(org.imixs.workflow.ItemCollection adocumentContext,
org.imixs.workflow.ItemCollection adocumentActivity)
throws org.imixs.workflow.exceptions.PluginException
The method runs the EQL Statement defined in the corepsonding Imixs Report to compute the collection of entities to be processed by a template.
As the current Workitem can not be identically included by the resultset of the EQL Statement (because the documentContext is yet not saved) the method tests if the resultset includes the current workitem. In this case the 'old' result will be replaced with the new currently processed workitem.
run in interface org.imixs.workflow.Pluginrun in class org.imixs.workflow.plugins.jee.AbstractPluginorg.imixs.workflow.exceptions.PluginExceptionpublic void close(int status)
throws org.imixs.workflow.exceptions.PluginException
close in interface org.imixs.workflow.Pluginclose in class org.imixs.workflow.plugins.jee.AbstractPluginorg.imixs.workflow.exceptions.PluginExceptionCopyright © 2010–2013 Imixs Software Solutions GmbH. All rights reserved.