Class SepaController

java.lang.Object
org.imixs.workflow.engine.scheduler.SchedulerController
org.imixs.workflow.sepa.controller.SepaController
All Implemented Interfaces:
Serializable

@Named @ViewScoped public class SepaController extends org.imixs.workflow.engine.scheduler.SchedulerController
The SepaController is used to configure the SepaService. This service is used to generate sepa export workitems.

The Controller creates a configuration entity "type=configuration; txtname=sepa".

The following config items are defined:

 _model_version = model version for the SEPA export
 _initial_task = inital task ID
 _dbtr_IBAN = default IBAN for the SEPA export file
 _dbtr_BIC = default BIC for the SEPA export file
 
Version:
1.0
Author:
rsoika
See Also:
  • Field Details

    • dbtrList

      protected List<org.imixs.workflow.ItemCollection> dbtrList
    • cdtrList

      protected List<org.imixs.workflow.ItemCollection> cdtrList
  • Constructor Details

    • SepaController

      public SepaController()
  • Method Details

    • init

      @PostConstruct public void init()
      This method loads the dbtr list from the configuration document
      Overrides:
      init in class org.imixs.workflow.engine.scheduler.SchedulerController
    • getName

      public String getName()
      Overrides:
      getName in class org.imixs.workflow.engine.scheduler.SchedulerController
    • getSchedulerClass

      public String getSchedulerClass()
      Returns the sepa scheduler class name
      Overrides:
      getSchedulerClass in class org.imixs.workflow.engine.scheduler.SchedulerController
    • calculateSum

      public double calculateSum(List<String> refids, String item)
      This method computes the sum for a given item in a list of workitems. The result is rounded to 2 digits.
      Parameters:
      refids - - list of workitem uniqueIds
      item - - name of the item to summarize
      Returns:
      sum rounded to 2 digits
    • loadDbtrCdtrListFromConfiguration

      public void loadDbtrCdtrListFromConfiguration()
      This method loads the dbtr.config and cdtr.config into a list of ItemCollection objects representing the sources defined in a Importer configuration.
    • saveConfiguration

      public void saveConfiguration()
      Overrides:
      saveConfiguration in class org.imixs.workflow.engine.scheduler.SchedulerController
    • getDbtrList

      public List<org.imixs.workflow.ItemCollection> getDbtrList()
    • getCdtrList

      public List<org.imixs.workflow.ItemCollection> getCdtrList()
    • addDbtr

      public void addDbtr()
      Adds a new dbtr object.
    • addCdtr

      public void addCdtr()
    • removeDbtr

      public void removeDbtr(String name)
      Removes an dbtr item from the list
      Parameters:
      name - - name of dbtr
    • removeCdtr

      public void removeCdtr(String name)