public class DefaultB2BBookingLineEntryDao extends DefaultGenericDao<B2BBookingLineEntryModel> implements B2BBookingLineEntryDao
B2BBookingLineEntryDao| Constructor and Description |
|---|
DefaultB2BBookingLineEntryDao()
DefaultGenericDao is only usable when typecode is set.
|
| Modifier and Type | Method and Description |
|---|---|
List<B2BBookingLineEntryModel> |
findOpenBookingLineEntriesByCostCenterAndDate(List<B2BCostCenterModel> costCenters,
Date bookingDate)
Finds open booking lines
|
Double |
findTotalCostByCostCenterAndDate(B2BCostCenterModel costCenter,
Date startDate,
Date endDate)
Gets the total cost of BookingLines between a particular date range
|
List<B2BBookingLineEntryModel> |
getOpenBookingLineEntries(List<B2BCostCenterModel> costCenters,
Date bookingDate)
Deprecated.
Use findOpenBookingLineEntries(List, Date)} instead
|
Double |
getTotalCost(B2BCostCenterModel costCenter,
Date startDate,
Date endDate)
Deprecated.
|
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServicepublic DefaultB2BBookingLineEntryDao()
@Deprecated public Double getTotalCost(B2BCostCenterModel costCenter, Date startDate, Date endDate)
findTotalCostByCostCenterAndDate(B2BCostCenterModel,Date,Date) insteadB2BBookingLineEntryDaogetTotalCost in interface B2BBookingLineEntryDaocostCenter - the costCenterstartDate - the startDate of the date rangeendDate - the endDate of the date rangepublic Double findTotalCostByCostCenterAndDate(B2BCostCenterModel costCenter, Date startDate, Date endDate)
B2BBookingLineEntryDaofindTotalCostByCostCenterAndDate in interface B2BBookingLineEntryDaocostCenter - the costCenterstartDate - the startDate of the date rangeendDate - the endDate of the date range@Deprecated public List<B2BBookingLineEntryModel> getOpenBookingLineEntries(List<B2BCostCenterModel> costCenters, Date bookingDate)
getOpenBookingLineEntries in interface B2BBookingLineEntryDaopublic List<B2BBookingLineEntryModel> findOpenBookingLineEntriesByCostCenterAndDate(List<B2BCostCenterModel> costCenters, Date bookingDate)
B2BBookingLineEntryDaofindOpenBookingLineEntriesByCostCenterAndDate in interface B2BBookingLineEntryDaocostCenters - the costCenterbookingDate - the booking dateCopyright © 2017 SAP SE. All Rights Reserved.