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> 
   <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
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.imixs.workflow.ItemCollection
    execute(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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      execute in interface org.imixs.workflow.Adapter
      Throws:
      org.imixs.workflow.exceptions.PluginException
      org.imixs.workflow.exceptions.AdapterException