org.imixs.workflow.plugins
Class OwnerPlugin
java.lang.Object
org.imixs.workflow.plugins.OwnerPlugin
- All Implemented Interfaces:
- org.imixs.workflow.Plugin
public class OwnerPlugin
- extends Object
- implements org.imixs.workflow.Plugin
This Pluginmodul implements a Ownership Control for Workflowactivitys. The
Plugin manages the modifications of the field namOwner of a Workitem inside a
activity by setting this Attribute. A Workflowmanager can use this attributes
to reflect there settings to the ownership inside a certain databasesystem.
The Plugin checks a set of activity attributes to manage the new settings of
the ownership defined inside the activity entity These attributes are:
o keyOwnershipMode (Vector): '1'=modify access '0'=renew access
o namOwnershipNames (Vector): Names & Groups to add to the namOwner (Vector):
o keyaddwriteroles (Vector): Roles to add to the namOwner attribute
- Version:
- 1.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 namworkflowreadaccess and namworkflowwriteaccess attribues
depending to the activityentity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwnerPlugin
public OwnerPlugin()
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 namworkflowreadaccess and namworkflowwriteaccess 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-2012 Imixs Software Solutions GmbH. All Rights Reserved.