org.imixs.workflow.plugins
Class OwnerPlugin

java.lang.Object
  extended by org.imixs.workflow.plugins.AbstractPlugin
      extended by org.imixs.workflow.plugins.OwnerPlugin
All Implemented Interfaces:
org.imixs.workflow.Plugin

public class OwnerPlugin
extends AbstractPlugin

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

Field Summary
 
Fields inherited from class org.imixs.workflow.plugins.AbstractPlugin
ctx
 
Fields inherited from interface org.imixs.workflow.Plugin
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING
 
Constructor Summary
OwnerPlugin()
           
 
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 org.imixs.workflow.plugins.AbstractPlugin
formatItemValues, mergeMappedFieldValues, mergeVectors, replaceDynamicValues, uniqueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwnerPlugin

public OwnerPlugin()
Method Detail

init

public void init(org.imixs.workflow.WorkflowContext actx)
          throws org.imixs.workflow.exceptions.PluginException
Specified by:
init in interface org.imixs.workflow.Plugin
Overrides:
init in class AbstractPlugin
Throws:
org.imixs.workflow.exceptions.PluginException

run

public int run(org.imixs.workflow.ItemCollection adocumentContext,
               org.imixs.workflow.ItemCollection adocumentActivity)
        throws org.imixs.workflow.exceptions.PluginException
changes the namworkflowreadaccess and namworkflowwriteaccess attribues depending to the activityentity

Throws:
org.imixs.workflow.exceptions.PluginException

close

public void close(int status)
           throws org.imixs.workflow.exceptions.PluginException
Throws:
org.imixs.workflow.exceptions.PluginException


Copyright © 2006-2012 Imixs Software Solutions GmbH. All Rights Reserved.