Class CalculateDebitorOpenBalanceDueTask
java.lang.Object
ch.tocco.nice2.optional.debitor.api.tasks.CalculateDebitorOpenBalanceDueTask
- All Implemented Interfaces:
OptionalTask<Entity,
,BigDecimal> PersistTask<Entity,
BigDecimal>
public class CalculateDebitorOpenBalanceDueTask
extends Object
implements OptionalTask<Entity,BigDecimal>
task that calculates and sets all total values for a debitor
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
CalculateDebitorOpenBalanceDueTask
public CalculateDebitorOpenBalanceDueTask()
-
-
Method Details
-
doRun
public BigDecimal doRun(Entity debitor, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
doRun
in interfaceOptionalTask<Entity,
BigDecimal> - Throws:
PersistException
InterruptedException
-