| Modifier and Type | Field and Description |
|---|---|
protected Date |
cachedDate |
protected Long |
currentDateResolution |
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
OfferDaoImpl() |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
@Value(value="${query.dateResolution.offer:10000}")
protected Long currentDateResolution
protected Date cachedDate
protected Date getCurrentDateAfterFactoringInDateResolution()
public OfferInfo createOfferInfo()
createOfferInfo in interface OfferDaopublic CandidateOrderOffer createCandidateOrderOffer()
createCandidateOrderOffer in interface OfferDaopublic CandidateItemOffer createCandidateItemOffer()
createCandidateItemOffer in interface OfferDaopublic CandidateFulfillmentGroupOffer createCandidateFulfillmentGroupOffer()
createCandidateFulfillmentGroupOffer in interface OfferDaopublic OrderItemAdjustment createOrderItemAdjustment()
createOrderItemAdjustment in interface OfferDaopublic OrderItemPriceDetailAdjustment createOrderItemPriceDetailAdjustment()
createOrderItemPriceDetailAdjustment in interface OfferDaopublic OrderAdjustment createOrderAdjustment()
createOrderAdjustment in interface OfferDaopublic FulfillmentGroupAdjustment createFulfillmentGroupAdjustment()
createFulfillmentGroupAdjustment in interface OfferDaopublic ProratedOrderItemAdjustment save(ProratedOrderItemAdjustment adjustment)
public List<Offer> readAllOffers()
readAllOffers in interface OfferDaopublic Offer readOfferById(Long offerId)
readOfferById in interface OfferDaopublic List<Offer> readOffersByAutomaticDeliveryType()
readOffersByAutomaticDeliveryType in interface OfferDaopublic Long getCurrentDateResolution()
OfferDaogetCurrentDateResolution in interface OfferDaopublic void setCurrentDateResolution(Long currentDateResolution)
OfferDaosetCurrentDateResolution in interface OfferDaocurrentDateResolution - the milliseconds to cache the current date/timeCopyright © 2022. All rights reserved.