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
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>
<sepa-export name="maxcount">100</sepa-export>
<sepa-export name="maxcount-event">20</sepa-export>
If a workitem is already been linked to a SEPA Export, nothing happens.
- Version:
- 1.0
- Author:
- rsoika
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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 Details
-
ERROR_CONFIG
- See Also:
-
-
Constructor Details
-
SEPARefAddAdapter
public SEPARefAddAdapter()
-
-
Method Details
-
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.PluginException This 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
-