public class ReportPlugin
extends org.imixs.workflow.plugins.AbstractPlugin
| Constructor and Description |
|---|
ReportPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(int status) |
org.imixs.workflow.jee.ejb.EntityService |
getEntityService() |
org.imixs.workflow.jee.ejb.ReportService |
getReportService() |
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 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.AbstractPluginorg.imixs.workflow.exceptions.PluginExceptionpublic org.imixs.workflow.jee.ejb.EntityService getEntityService()
throws Exception
Exceptionpublic org.imixs.workflow.jee.ejb.ReportService getReportService()
throws Exception
Exceptionpublic 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.
org.imixs.workflow.exceptions.PluginExceptionpublic void close(int status)
throws org.imixs.workflow.exceptions.PluginException
org.imixs.workflow.exceptions.PluginExceptionCopyright © 2010-2013 Imixs Software Solutions GmbH. All Rights Reserved.