Package de.hybris.platform.b2b.dao
Interface B2BBookingLineEntryDao
-
- All Known Implementing Classes:
DefaultB2BBookingLineEntryDao
public interface B2BBookingLineEntryDao
A dao aroundB2BBookingLineEntryModel
- Spring Bean ID:
- b2bBookingLineEntryDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<B2BBookingLineEntryModel>
findOpenBookingLineEntriesByCostCenterAndDate(java.util.List<B2BCostCenterModel> costCenters, java.util.Date bookingDate)
Finds open booking linesjava.lang.Double
findTotalCostByCostCenterAndDate(B2BCostCenterModel costCenter, java.util.Date startDate, java.util.Date endDate)
Gets the total cost of BookingLines between a particular date rangejava.util.List<B2BBookingLineEntryModel>
getOpenBookingLineEntries(java.util.List<B2BCostCenterModel> costCenters, java.util.Date bookingDate)
Deprecated.Since 4.4.java.lang.Double
getTotalCost(B2BCostCenterModel costCenter, java.util.Date startDate, java.util.Date endDate)
Deprecated.Since 4.4.
-
-
-
Method Detail
-
getTotalCost
@Deprecated(since="4.4") java.lang.Double getTotalCost(B2BCostCenterModel costCenter, java.util.Date startDate, java.util.Date endDate)
Deprecated.Since 4.4. UsefindTotalCostByCostCenterAndDate(B2BCostCenterModel,Date,Date)
insteadGets the total cost of BookingLines between particular dates- Parameters:
costCenter
- the costCenterstartDate
- the startDate of the date rangeendDate
- 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 costCenterstartDate
- the startDate of the date rangeendDate
- the endDate of the date range- Returns:
- amount of the total cost
-
getOpenBookingLineEntries
@Deprecated(since="4.4") java.util.List<B2BBookingLineEntryModel> getOpenBookingLineEntries(java.util.List<B2BCostCenterModel> costCenters, java.util.Date bookingDate)
Deprecated.Since 4.4. UsefindOpenBookingLineEntriesByCostCenterAndDate(List, Date)
instead- Parameters:
costCenters
-bookingDate
-- Returns:
- a list of open bookings
-
findOpenBookingLineEntriesByCostCenterAndDate
java.util.List<B2BBookingLineEntryModel> findOpenBookingLineEntriesByCostCenterAndDate(java.util.List<B2BCostCenterModel> costCenters, java.util.Date bookingDate)
Finds open booking lines- Parameters:
costCenters
- the costCenterbookingDate
- the booking date- Returns:
- a list of open bookings
-
-