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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCdtr()voidaddDbtr()Adds a new dbtr object.doublecalculateSum(List<String> refids, String item) This method computes the sum for a given item in a list of workitems.List<org.imixs.workflow.ItemCollection>List<org.imixs.workflow.ItemCollection>getName()Returns the sepa scheduler class namevoidinit()This method loads the dbtr list from the configuration documentvoidThis method loads the dbtr.config and cdtr.config into a list of ItemCollection objects representing the sources defined in a Importer configuration.voidremoveCdtr(String name) voidremoveDbtr(String name) Removes an dbtr item from the listvoidMethods inherited from class org.imixs.workflow.engine.scheduler.SchedulerController
getConfiguration, getSchedulerService, millisToShortDHMS, refresh, restartScheduler, setConfiguration, setName, setSchedulerClass, startScheduler, stopScheduler
-
Field Details
-
dbtrList
-
cdtrList
-
-
Constructor Details
-
SepaController
public SepaController()
-
-
Method Details
-
init
@PostConstruct public void init()This method loads the dbtr list from the configuration document- Overrides:
initin classorg.imixs.workflow.engine.scheduler.SchedulerController
-
getName
- Overrides:
getNamein classorg.imixs.workflow.engine.scheduler.SchedulerController
-
getSchedulerClass
Returns the sepa scheduler class name- Overrides:
getSchedulerClassin classorg.imixs.workflow.engine.scheduler.SchedulerController
-
calculateSum
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 uniqueIdsitem- - 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:
saveConfigurationin classorg.imixs.workflow.engine.scheduler.SchedulerController
-
getDbtrList
-
getCdtrList
-
addDbtr
public void addDbtr()Adds a new dbtr object. -
addCdtr
public void addCdtr() -
removeDbtr
Removes an dbtr item from the list- Parameters:
name- - name of dbtr
-
removeCdtr
-