|
||||||||||
| 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 | |
|---|---|
java.lang.String |
formatItemValues(java.util.Collection aItem,
java.lang.String aSeparator,
java.lang.String sFormat)
this method formats a string object depending of an attribute type. |
void |
init(org.imixs.workflow.WorkflowContext actx)
|
void |
mergeMappedFieldValues(org.imixs.workflow.ItemCollection documentContext,
java.util.List p_VectorDestination,
java.util.List<java.lang.String> p_VectorFieldList)
this method merges the values of p_VectorFieldList into p_VectorDestination and test for duplicates |
void |
mergeVectors(java.util.List p_VectorDestination,
java.util.List p_VectorSource)
This method merges the values from p_VectorSource into vectorDest and removes duplicates |
java.lang.String |
replaceDynamicValues(java.lang.String aString,
org.imixs.workflow.ItemCollection documentContext)
this method parses a string for xml tag |
java.util.List |
uniqueList(java.util.List p_Vector)
this method removes duplicate and null values from a vector object The method is called by the run method after build new read and write access elements. |
| 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 org.imixs.workflow.exceptions.PluginException
init in interface org.imixs.workflow.Pluginorg.imixs.workflow.exceptions.PluginException
public java.lang.String replaceDynamicValues(java.lang.String aString,
org.imixs.workflow.ItemCollection documentContext)
hello namCreator
Item values can also be formated. e.g. for date/time values
Last access Time= $created
If the itemValue is a multiValue object the single values can be
spearated by a separator
Phone List: txtPhones
public java.lang.String formatItemValues(java.util.Collection aItem,
java.lang.String aSeparator,
java.lang.String sFormat)
public void mergeVectors(java.util.List p_VectorDestination,
java.util.List p_VectorSource)
p_VectorDestination - p_VectorSource -
public void mergeMappedFieldValues(org.imixs.workflow.ItemCollection documentContext,
java.util.List p_VectorDestination,
java.util.List<java.lang.String> p_VectorFieldList)
p_VectorDestination - p_VectorFieldList - public java.util.List uniqueList(java.util.List p_Vector)
p_Vector -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||