|
||||||||||
| 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 | |
|---|---|
org.imixs.workflow.WorkflowContext |
ctx
|
| Fields inherited from interface org.imixs.workflow.Plugin |
|---|
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING |
| Constructor Summary | |
|---|---|
AbstractPlugin()
|
|
| Method Summary | |
|---|---|
String |
formatItemValues(String sFeldname,
Object aItem,
String sDelimeter,
String sFormat)
this method formate a string object depending of an attribute type |
static String |
getAbbreviateName(String aName)
returns the abbreviate name of a hierarchical name. |
static String |
getCommonName(String aName)
returns the common name component (CN=) of a hierarchical name. |
void |
init(org.imixs.workflow.WorkflowContext actx)
|
String |
replaceDynamicValues(String aString,
org.imixs.workflow.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 org.imixs.workflow.WorkflowContext ctx
| Constructor Detail |
|---|
public AbstractPlugin()
| Method Detail |
|---|
public void init(org.imixs.workflow.WorkflowContext actx)
throws Exception
init in interface org.imixs.workflow.PluginException
public String replaceDynamicValues(String aString,
org.imixs.workflow.ItemCollection documentContext)
throws 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
Exception
public String formatItemValues(String sFeldname,
Object aItem,
String sDelimeter,
String sFormat)
throws Exception
Exceptionpublic static String getCommonName(String aName)
aName - (e.g "CN=Ralph Soika/O=IMIXS")
public static String getAbbreviateName(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 | |||||||||