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