public class DocumentComposerPlugin extends AbstractPlugin
<item name="document-composer" data-object="template1">htmloutput</item>
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_DATA_OBJECT |
static String |
INVALID_XSL_FORMAT |
static String |
ITEM_DOCUMENT_COMPOSER |
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT| Constructor and Description |
|---|
DocumentComposerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(WorkflowContext actx)
Initialize Plugin and get an instance of the EJB Session Context
|
ItemCollection |
run(ItemCollection documentContext,
ItemCollection documentActivity)
This method adds the attachments of the blob workitem to the MimeMessage
|
String |
transformXSLTemplate(ItemCollection documentContext,
String xslTemplate)
This method performs a XSL transformation based on an xslTemplate.
|
close, getCtx, getWorkflowService, mergeFieldList, uniqueListpublic static String ITEM_DOCUMENT_COMPOSER
public static String INVALID_DATA_OBJECT
public static String INVALID_XSL_FORMAT
public void init(WorkflowContext actx) throws PluginException
AbstractPlugininit in interface Plugininit in class AbstractPluginPluginExceptionpublic ItemCollection run(ItemCollection documentContext, ItemCollection documentActivity) throws PluginException
PluginExceptionpublic String transformXSLTemplate(ItemCollection documentContext, String xslTemplate) throws PluginException
PluginExceptionCopyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.