Klasse DocumentComposerPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.DocumentComposerPlugin
- Alle implementierten Schnittstellen:
Plugin
This DocumentComposer Plugin creates html output stored in a item. The
DocumentComposer is based on BPMN DataObjects assigned to the target task.
<item name="document-composer" data-object="template1">htmloutput</item>
- Version:
- 2.0
- Autor:
- rsoika
-
Feldübersicht
FelderVon Klasse geerbte Felder org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungrun(ItemCollection documentContext, ItemCollection event) This method adds the attachments of the blob workitem to the MimeMessagetransformXSLTemplate(ItemCollection documentContext, String xslTemplate) This method performs a XSL transformation based on an xslTemplate.Von Klasse geerbte Methoden org.imixs.workflow.engine.plugins.AbstractPlugin
close, getWorkflowContext, getWorkflowService, init, mergeFieldList, setWorkflowService, uniqueList
-
Felddetails
-
ITEM_DOCUMENT_COMPOSER
-
INVALID_DATA_OBJECT
-
INVALID_XSL_FORMAT
-
-
Konstruktordetails
-
DocumentComposerPlugin
public DocumentComposerPlugin()
-
-
Methodendetails
-
run
public ItemCollection run(ItemCollection documentContext, ItemCollection event) throws PluginException This method adds the attachments of the blob workitem to the MimeMessage- Parameter:
documentContext- the workitem to be processedevent- the workflow event containing the processing instructions- Gibt zurück:
- updated workitem for further processing
- Löst aus:
PluginException
-
transformXSLTemplate
public String transformXSLTemplate(ItemCollection documentContext, String xslTemplate) throws PluginException This method performs a XSL transformation based on an xslTemplate. The xml source is generated form the current document context. encoding is set to UTF-8- Gibt zurück:
- translated email body
- Löst aus:
PluginException
-