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 |
|---|---|
java.util.List<B2BBookingLineEntryModel> |
findOpenBookingLineEntriesByCostCenterAndDate(java.util.List<B2BCostCenterModel> costCenters,
java.util.Date bookingDate)
Finds open booking lines
|
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
|
java.util.List<B2BBookingLineEntryModel> |
getOpenBookingLineEntries(java.util.List<B2BCostCenterModel> costCenters,
java.util.Date bookingDate)
Deprecated.
Since 4.4. Use findOpenBookingLineEntries(List, Date)} instead
|
java.lang.Double |
getTotalCost(B2BCostCenterModel costCenter,
java.util.Date startDate,
java.util.Date endDate)
Deprecated.
Since 4.4. Use
findTotalCostByCostCenterAndDate(B2BCostCenterModel,Date,Date) instead |
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServicepublic DefaultB2BBookingLineEntryDao()
@Deprecated public java.lang.Double getTotalCost(B2BCostCenterModel costCenter, java.util.Date startDate, java.util.Date endDate)
findTotalCostByCostCenterAndDate(B2BCostCenterModel,Date,Date) insteadB2BBookingLineEntryDaogetTotalCost in interface B2BBookingLineEntryDaocostCenter - the costCenterstartDate - the startDate of the date rangeendDate - the endDate of the date rangepublic java.lang.Double findTotalCostByCostCenterAndDate(B2BCostCenterModel costCenter, java.util.Date startDate, java.util.Date endDate)
B2BBookingLineEntryDaofindTotalCostByCostCenterAndDate in interface B2BBookingLineEntryDaocostCenter - the costCenterstartDate - the startDate of the date rangeendDate - the endDate of the date range@Deprecated public java.util.List<B2BBookingLineEntryModel> getOpenBookingLineEntries(java.util.List<B2BCostCenterModel> costCenters, java.util.Date bookingDate)
getOpenBookingLineEntries in interface B2BBookingLineEntryDaopublic java.util.List<B2BBookingLineEntryModel> findOpenBookingLineEntriesByCostCenterAndDate(java.util.List<B2BCostCenterModel> costCenters, java.util.Date bookingDate)
B2BBookingLineEntryDaofindOpenBookingLineEntriesByCostCenterAndDate in interface B2BBookingLineEntryDaocostCenters - the costCenterbookingDate - the booking dateCopyright © 2018 SAP SE. All Rights Reserved.