Class 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
    • Constructor Detail

      • SEPARefAddAdapter

        public SEPARefAddAdapter()
    • 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.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