|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imixs.workflow.plugins.AbstractPlugin
org.imixs.workflow.jaxrs.plugins.ReportPlugin
public class ReportPlugin
This plugin handles the creation of a Imixs Reoprt. The coresponding activityEntity provide the following properties:
| Field Summary |
|---|
| Fields inherited from class org.imixs.workflow.plugins.AbstractPlugin |
|---|
ctx |
| Fields inherited from interface org.imixs.workflow.Plugin |
|---|
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING |
| Constructor Summary | |
|---|---|
ReportPlugin()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.imixs.workflow.plugins.AbstractPlugin |
|---|
formatItemValues, mergeMappedFieldValues, mergeVectors, replaceDynamicValues, uniqueList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportPlugin()
| Method Detail |
|---|
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.PluginException
public org.imixs.workflow.jee.ejb.EntityService getEntityService()
throws java.lang.Exception
java.lang.Exception
public org.imixs.workflow.jee.ejb.ReportService getReportService()
throws java.lang.Exception
java.lang.Exception
public 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.PluginException
public void close(int status)
throws org.imixs.workflow.exceptions.PluginException
org.imixs.workflow.exceptions.PluginException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||