Package org.imixs.workflow.sepa.adapter
Class SEPARefAddAdapter
- java.lang.Object
-
- org.imixs.workflow.sepa.adapter.SEPARefAddAdapter
-
- All Implemented Interfaces:
org.imixs.workflow.Adapter,org.imixs.workflow.SignalAdapter
public class SEPARefAddAdapter extends Object implements org.imixs.workflow.SignalAdapter
The SEPARefAddAdapter is used for linking a workitem with a SEPA Export. For payment advises the dbtr.iban/bic items are resolved. For direct debit the adapter uses the cdtr.iban/bic item.Depending on the information stored in a workitem the adapter automatically resolves the dbtr/cdtr information form the SEPA configuration document.
SEPA Export workitems are grouped by an individual key defined in the model. If there is currently no open SEPA Export for a given key, the adapter automatically creates a new process instance.
Event Configuration:
<sepa-export name="modelversion">sepa-export-manual-de-3.0</sepa-export> <sepa-export name="task">1000</sepa-export> <sepa-export name="key">SEPA Lastschriftverfahren</sepa-export>If a workitem is already been linked to a SEPA Export, nothing happens.
- Version:
- 1.0
- Author:
- rsoika
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_CONFIG
-
Constructor Summary
Constructors Constructor Description SEPARefAddAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.imixs.workflow.ItemCollectionexecute(org.imixs.workflow.ItemCollection workitem, org.imixs.workflow.ItemCollection event)This method finds or create the SEPA Export and adds a reference ($workitemref) to the current workitem.
-
-
-
Field Detail
-
ERROR_CONFIG
public static final String ERROR_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public org.imixs.workflow.ItemCollection execute(org.imixs.workflow.ItemCollection workitem, org.imixs.workflow.ItemCollection event) throws org.imixs.workflow.exceptions.AdapterException, org.imixs.workflow.exceptions.PluginExceptionThis method finds or create the SEPA Export and adds a reference ($workitemref) to the current workitem.- Specified by:
executein interfaceorg.imixs.workflow.Adapter- Throws:
org.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.AdapterException
-
-