Interface B2BBookingLineEntryDao

    • Method Detail

      • getTotalCost

        @Deprecated(since="4.4")
        java.lang.Double getTotalCost​(B2BCostCenterModel costCenter,
                                      java.util.Date startDate,
                                      java.util.Date endDate)
        Gets the total cost of BookingLines between particular dates
        Parameters:
        costCenter - the costCenter
        startDate - the startDate of the date range
        endDate - the endDate of the date range
        Returns:
        amount of the total cost
      • findTotalCostByCostCenterAndDate

        java.lang.Double findTotalCostByCostCenterAndDate​(B2BCostCenterModel costCenter,
                                                          java.util.Date startDate,
                                                          java.util.Date endDate)
        Gets the total cost of BookingLines between a particular date range
        Parameters:
        costCenter - the costCenter
        startDate - the startDate of the date range
        endDate - the endDate of the date range
        Returns:
        amount of the total cost
      • findOpenBookingLineEntriesByCostCenterAndDate

        java.util.List<B2BBookingLineEntryModel> findOpenBookingLineEntriesByCostCenterAndDate​(java.util.List<B2BCostCenterModel> costCenters,
                                                                                               java.util.Date bookingDate)
        Finds open booking lines
        Parameters:
        costCenters - the costCenter
        bookingDate - the booking date
        Returns:
        a list of open bookings