Klasse AbstractPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
- Alle implementierten Schnittstellen:
Plugin
- Bekannte direkte Unterklassen:
AccessPlugin,AnalysisPlugin,ApplicationPlugin,ApproverPlugin,DocumentComposerPlugin,EventLogPlugin,HistoryPlugin,IntervalPlugin,LogPlugin,MailPlugin,OwnerPlugin,ReportPlugin,ResultPlugin,RulePlugin,SplitAndJoinPlugin,TaxonomyPlugin,VersionPlugin
This abstract class implements different helper methods used by subclasses
- Version:
- 1.1
- Autor:
- Ralph Soika
- Siehe auch:
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose(boolean rollbackTransaction) This method is called after all plugins are executed by the WorkfloKernel.Returns an instance of the WorkflowService EJB.voidinit(WorkflowContext _ctx) Initialize Plugin and get an instance of the EJB Session ContextvoidmergeFieldList(ItemCollection documentContext, List valueList, List<String> fieldList) This method merges the values of fieldList into valueList and test for duplicates.voidsetWorkflowService(WorkflowService workflowService) List<?> uniqueList(List<Object> valueList) This method removes duplicates and null values from a vector.
-
Felddetails
-
INVALID_ITEMVALUE_FORMAT
- Siehe auch:
-
INVALID_PROPERTYVALUE_FORMAT
- Siehe auch:
-
-
Konstruktordetails
-
AbstractPlugin
public AbstractPlugin()
-
-
Methodendetails
-
init
Initialize Plugin and get an instance of the EJB Session Context- Angegeben von:
initin SchnittstellePlugin- Löst aus:
PluginException
-
getWorkflowContext
-
close
Beschreibung aus Schnittstelle kopiert:PluginThis method is called after all plugins are executed by the WorkfloKernel. A plugin my tear down external resources.- Angegeben von:
closein SchnittstellePlugin- Parameter:
rollbackTransaction- indicates if the current transaction will be rolled back.- Löst aus:
PluginException
-
getWorkflowService
Returns an instance of the WorkflowService EJB.- Gibt zurück:
-
setWorkflowService
-
mergeFieldList
This method merges the values of fieldList into valueList and test for duplicates. If an entry of the fieldList is a single key value, than the values to be merged are read from the corresponding documentContext property e.g. 'namTeam' -> maps the values of the documentContext property 'namteam' into the valueList If an entry of the fieldList is in square brackets, than the comma separated elements are mapped into the valueList e.g. '[user1,user2]' - maps the values 'user1' and 'user2' int the valueList. Also Curly brackets are allowed '{user1,user2}'- Parameter:
valueList-fieldList-
-
uniqueList
This method removes duplicates and null values from a vector.- Parameter:
valueList- - list of elements
-