Klasse HistoryPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.HistoryPlugin
- Alle implementierten Schnittstellen:
Plugin
This Plugin creates a history log in the property txtWorkflowHistory. The
history log contains a list of history entires. Each entry provides the
following information:
- date of creation (Date)
- comment (String)
- userID (String)
- Version:
- 2.0
- Autor:
- Ralph Soika
-
Feldübersicht
FelderVon Klasse geerbte Felder org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidThis method converts the old StringList format in the new format with a list of separated values: date of creation (Date) comment (String) userID (String)run(ItemCollection adocumentContext, ItemCollection adocumentActivity) Update the Log entry.Von Klasse geerbte Methoden org.imixs.workflow.engine.plugins.AbstractPlugin
close, getWorkflowContext, getWorkflowService, init, mergeFieldList, setWorkflowService, uniqueList
-
Felddetails
-
ITEM_HISTORY_LOG
- Siehe auch:
-
-
Konstruktordetails
-
HistoryPlugin
public HistoryPlugin()
-
-
Methodendetails
-
run
public ItemCollection run(ItemCollection adocumentContext, ItemCollection adocumentActivity) throws PluginException Update the Log entry. The method tests if the deprecated property 'txtworkflowhistorylogrev' exists. In this case the old log format will be transformed into the new format see method convertOldFormat- Parameter:
adocumentContext- the workitem to be processedadocumentActivity- the workflow event containing the processing instructions- Gibt zurück:
- updated workitem for further processing
- Löst aus:
PluginException
-
convertOldFormat
protected void convertOldFormat()This method converts the old StringList format in the new format with a list of separated values:- date of creation (Date)
- comment (String)
- userID (String)
-