Class ApplicationPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.ApplicationPlugin
- All Implemented Interfaces:
Plugin
This Plugin updates application specific settings.
- txtWorkflowEditorID - optional EditorID to be used by an application
- txtWorkflowImageURL - visual image can be displayed by an application
- $WorkflowAbstract - Abstract text
- $WorkflowSummary - Summary These settings can be configured by the imixs modeler on the Application Property Tab on a ProcessEntity. The Plugin determines the new settings by fetching the next ProcessEntity. The Next ProcessEntity is defined by the ActivityEntity attribute 'numNextProcessID' Version 1.1 The Plugin will test if the provided Model supports ExtendedModels. If so the Plugin will fetch the next ProcessEntity by the current used modelVersion of the workitem. Version 1.2 The plugin submits the new settings directly in the run() method, so other plugins can access the new properties for further operations http://java.net/jira/browse/IMIXS_WORKFLOW-81 Version 1.3: type, workflowgroup and workfowstatus are handled by the WorkflowKernel
- Version:
- 1.3
- Author:
- Ralph Soika
- See Also:
-
Field Summary
Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrun
(ItemCollection adocumentContext, ItemCollection adocumentActivity) Methods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
-
Field Details
-
WORKFLOWABSTRACT
- See Also:
-
WORKFLOWSUMMARY
- See Also:
-
PROCESS_UNDEFINED
- See Also:
-
-
Constructor Details
-
ApplicationPlugin
public ApplicationPlugin()
-
-
Method Details
-
run
public ItemCollection run(ItemCollection adocumentContext, ItemCollection adocumentActivity) throws PluginException - Parameters:
adocumentContext
- the workitem to be processedadocumentActivity
- the workflow event containing the processing instructions- Returns:
- updated workitem for further processing
- Throws:
PluginException
-