public class ReportPlugin extends AbstractPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_CONTEXT |
static String |
INVALID_REPORT_DEFINITION |
static String |
REPORT_UNDEFINED |
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT| Constructor and Description |
|---|
ReportPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(int status) |
org.imixs.workflow.ItemCollection |
run(org.imixs.workflow.ItemCollection adocumentContext,
org.imixs.workflow.ItemCollection adocumentActivity)
creates report defined by the txtReportName.
|
close, formatItemValues, formatItemValues, getCtx, getWorkflowService, init, mergeFieldList, mergeValueList, replaceDynamicValues, uniqueListpublic static final String INVALID_CONTEXT
public static final String REPORT_UNDEFINED
public static final String INVALID_REPORT_DEFINITION
public org.imixs.workflow.ItemCollection 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 corresponding Report definition 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. The xml generated by the Jax-B Marshaller will be modified afterwards to avoid escaped content of fields with a name starting with 'xml' or 'html'.
org.imixs.workflow.exceptions.PluginExceptionpublic void close(int status)
throws org.imixs.workflow.exceptions.PluginException
org.imixs.workflow.exceptions.PluginExceptionCopyright © 2006–2016 Imixs Software Solutions GmbH. All rights reserved.