|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imixs.workflow.plugins.AccessPlugin
public class AccessPlugin
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:
WorkflowManager| Field Summary |
|---|
| Fields inherited from interface org.imixs.workflow.Plugin |
|---|
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING |
| Constructor Summary | |
|---|---|
AccessPlugin()
|
|
| Method Summary | |
|---|---|
void |
close(int status)
This CallBack Mathode is uses to giv the plugin the chance to close plubin spcific data |
void |
init(WorkflowContext actx)
The init Methode is usesd to initialize the plugin. |
int |
run(ItemCollection adocumentContext,
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 |
| Constructor Detail |
|---|
public AccessPlugin()
| Method Detail |
|---|
public void init(WorkflowContext actx) throws java.lang.Exception
Plugin
actx - defines the context in which the plugin runs
a Plugin can use this context to get information about the enviroment
java.lang.Exceptionpublic int run(ItemCollection adocumentContext, ItemCollection adocumentActivity) throws java.lang.Exception
adocumentContext - defines the document to be processedadocumentActivity - defines the activity document which contains the workflowprocessing instructions
java.lang.Exception
public void close(int status)
throws java.lang.Exception
Plugin
status - gives the plugin information about the current status. this parameter is deliverd by the workflowKernel.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||