|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imixs.workflow.plugins.AbstractPlugin
public abstract class AbstractPlugin
This abstract class implements different helper methods used by subclasses
WorkflowManager| Field Summary | |
|---|---|
WorkflowContext |
ctx
|
| Fields inherited from interface org.imixs.workflow.Plugin |
|---|
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING |
| Constructor Summary | |
|---|---|
AbstractPlugin()
|
|
| Method Summary | |
|---|---|
java.lang.String |
formatItemValues(java.lang.String sFeldname,
java.lang.Object aItem,
java.lang.String sDelimeter,
java.lang.String sFormat)
this method formate a string object depending of an attribute type |
static java.lang.String |
getAbbreviateName(java.lang.String aName)
returns the abbreviate name of a hierarchical name. |
static java.lang.String |
getCommonName(java.lang.String aName)
returns the common name component (CN=) of a hierarchical name. |
void |
init(WorkflowContext actx)
The init Methode is usesd to initialize the plugin. |
java.lang.String |
replaceDynamicValues(java.lang.String aString,
ItemCollection documentContext)
this method replaces a string with place holders defines a field of a workitem wich will be replaced
by its value
inside a field tag it is possible to provide an additional format string
to be used to format a object value. example:
... |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.imixs.workflow.Plugin |
|---|
close, run |
| Field Detail |
|---|
public WorkflowContext ctx
| Constructor Detail |
|---|
public AbstractPlugin()
| Method Detail |
|---|
public void init(WorkflowContext actx)
throws java.lang.Exception
Plugin
init in interface Pluginactx - defines the context in which the plugin runs
a Plugin can use this context to get information about the enviroment
java.lang.Exception
public java.lang.String replaceDynamicValues(java.lang.String aString,
ItemCollection documentContext)
throws java.lang.Exception
defines a field of a workitem wich will be replaced
by its value
inside a field tag it is possible to provide an additional format string
to be used to format a object value. example:
... this will format a
date object with the format mm:ss
java.lang.Exception
public java.lang.String formatItemValues(java.lang.String sFeldname,
java.lang.Object aItem,
java.lang.String sDelimeter,
java.lang.String sFormat)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getCommonName(java.lang.String aName)
aName - (e.g "CN=Ralph Soika/O=IMIXS")
public static java.lang.String getAbbreviateName(java.lang.String aName)
aName - (e.g "CN=Ralph Soika/O=IMIXS")
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||