org.imixs.workflow.plugins
Class AbstractPlugin
java.lang.Object
org.imixs.workflow.plugins.AbstractPlugin
- All Implemented Interfaces:
- org.imixs.workflow.Plugin
- Direct Known Subclasses:
- AbstractPlugin, ApplicationPlugin, HistoryPlugin, LogPlugin, LucenePlugin, ResultPlugin
public abstract class AbstractPlugin
- extends Object
- implements org.imixs.workflow.Plugin
This abstract class implements different helper methods used by subclasses
- Version:
- 1.1
- Author:
- Ralph Soika
- See Also:
WorkflowManager
|
Field Summary |
org.imixs.workflow.WorkflowContext |
ctx
|
| Fields inherited from interface org.imixs.workflow.Plugin |
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING |
| 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 |
ctx
public org.imixs.workflow.WorkflowContext ctx
AbstractPlugin
public AbstractPlugin()
init
public void init(org.imixs.workflow.WorkflowContext actx)
throws Exception
- Specified by:
init in interface org.imixs.workflow.Plugin
- Throws:
Exception
replaceDynamicValues
public String replaceDynamicValues(String aString,
org.imixs.workflow.ItemCollection documentContext)
throws Exception
- this method parses a string for xml tag . Those tags will be
replaced with the corresponding item value.
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
- Throws:
Exception
formatItemValues
public String formatItemValues(Collection aItem,
String aSeparator,
String sFormat)
throws Exception
- this method formats a string object depending of an attribute type.
MultiValues will be separated by the provided separator
- Throws:
Exception
Copyright © 2006-2012 Imixs Software Solutions GmbH. All Rights Reserved.