public class AccessPlugin extends AbstractPlugin
The following attributes defined in the model element are evaluated by the plugin:
Fallback Mode:
NOTE: Models generated with the first version of the Imixs-Workflow Modeler provide a different set of attributes. Therefore the plugin implements a fallback method to support deprecated models. The fallback method evaluate the following list of attributes defined in Activity Entity:
These attributes are:
WorkflowManagerINVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT| Constructor and Description |
|---|
AccessPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static void |
mergeRoles(List valueList,
List sourceList,
ItemCollection documentContext,
WorkflowService workflowService)
This method merges the role names from a SourceList into a valueList and removes
duplicates.
|
ItemCollection |
run(ItemCollection adocumentContext,
ItemCollection adocumentActivity)
This method updates the $readAccess and $writeAccess attributes of a WorkItem
depending to the configuration of a Activity Entity.
|
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueListpublic ItemCollection run(ItemCollection adocumentContext, ItemCollection adocumentActivity) throws PluginException
PluginExceptionpublic static void mergeRoles(List valueList, List sourceList, ItemCollection documentContext, WorkflowService workflowService) throws PluginException
valueList - sourceList - PluginExceptionCopyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.