org.imixs.workflow.plugins
Class AccessPlugin
java.lang.Object
org.imixs.workflow.plugins.AccessPlugin
- All Implemented Interfaces:
- org.imixs.workflow.Plugin
public class AccessPlugin
- extends Object
- implements org.imixs.workflow.Plugin
This Plugin module implements a generic Access management controled throught the
configuration in a Workflowactivity.
The Plugin updates the attriubtes $ReadAccess and $WriteAccess depending on the
configuration in a ActivityEntiy.
These attributes are:
- keyaccessmode (Vector): '1'=update '0'=renew
- namaddreadaccess (Vector): Names & Groups to be added /replaced
- namaddwriteaccess (Vector): Names & Groups to be added/replaced
- keyaddreadroles (Vector): Roles to be added/replaced
- keyaddwriteroles (Vector): Roles to added/replaced
- keyaddreadfields (Vector): Attributes of the processd workitem to add there
values
- keyaddwritefields (Vector): Attributes of the processd workitem to add therevalues
- Version:
- 2.0
- Author:
- Ralph Soika
- See Also:
WorkflowManager
| Fields inherited from interface org.imixs.workflow.Plugin |
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING |
|
Method Summary |
void |
close(int status)
|
void |
init(org.imixs.workflow.WorkflowContext actx)
|
int |
run(org.imixs.workflow.ItemCollection adocumentContext,
org.imixs.workflow.ItemCollection adocumentActivity)
changes the $readAccess and $writeAccess attribues
depending to the activityentity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessPlugin
public AccessPlugin()
init
public void init(org.imixs.workflow.WorkflowContext actx)
throws Exception
- Specified by:
init in interface org.imixs.workflow.Plugin
- Throws:
Exception
run
public int run(org.imixs.workflow.ItemCollection adocumentContext,
org.imixs.workflow.ItemCollection adocumentActivity)
throws Exception
- changes the $readAccess and $writeAccess attribues
depending to the activityentity
- Specified by:
run in interface org.imixs.workflow.Plugin
- Throws:
Exception
close
public void close(int status)
throws Exception
- Specified by:
close in interface org.imixs.workflow.Plugin
- Throws:
Exception
Copyright © 2006-2011 Imixs Software Solutions GmbH. All Rights Reserved.