Class RefreshTotalsServiceImpl
java.lang.Object
ch.tocco.nice2.optional.order.impl.RefreshTotalsServiceImpl
- All Implemented Interfaces:
RefreshTotalsService
-
Constructor Summary
ConstructorDescriptionRefreshTotalsServiceImpl
(VatInformationService vatInformationService, VatCalculationService vatCalculationService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
recalculateOrderPositionTotals
(Entity orderPosition) recalculates and sets all totals on Order_positionvoid
recalculateOrderTotals
(Entity order)
-
Constructor Details
-
RefreshTotalsServiceImpl
public RefreshTotalsServiceImpl(VatInformationService vatInformationService, VatCalculationService vatCalculationService, SecurityManager securityManager)
-
-
Method Details
-
recalculateOrderPositionTotals
Description copied from interface:RefreshTotalsService
recalculates and sets all totals on Order_position- Specified by:
recalculateOrderPositionTotals
in interfaceRefreshTotalsService
- Parameters:
orderPosition
- the Order_position to reset
-
recalculateOrderTotals
- Specified by:
recalculateOrderTotals
in interfaceRefreshTotalsService
-