Interface OfferDao
- All Known Implementing Classes:
OfferDaoImpl
public interface OfferDao
-
Method Summary
Modifier and TypeMethodDescriptioncreate()voidvoidReturns the number of milliseconds that the current date/time will be cached for queries before refreshing.readOfferById(Long offerId) save(ProratedOrderItemAdjustment adjustment) voidsetCurrentDateResolution(Long currentDateResolution) Sets the number of milliseconds that the current date/time will be cached for queries before refreshing.
-
Method Details
-
save
-
readAllOffers
-
readOfferById
-
readOffersByAutomaticDeliveryType
-
save
-
delete
-
create
Offer create() -
createCandidateOrderOffer
CandidateOrderOffer createCandidateOrderOffer() -
createCandidateItemOffer
CandidateItemOffer createCandidateItemOffer() -
createCandidateFulfillmentGroupOffer
CandidateFulfillmentGroupOffer createCandidateFulfillmentGroupOffer() -
createOrderItemAdjustment
OrderItemAdjustment createOrderItemAdjustment() -
createOrderItemPriceDetailAdjustment
OrderItemPriceDetailAdjustment createOrderItemPriceDetailAdjustment() -
createOrderAdjustment
OrderAdjustment createOrderAdjustment() -
createFulfillmentGroupAdjustment
FulfillmentGroupAdjustment createFulfillmentGroupAdjustment() -
createOfferInfo
OfferInfo createOfferInfo() -
save
-
delete
-
getCurrentDateResolution
Long getCurrentDateResolution()Returns the number of milliseconds that the current date/time will be cached for queries before refreshing. This aids in query caching, otherwise every query that utilized current date would be different and caching would be ineffective.- Returns:
- the milliseconds to cache the current date/time
-
setCurrentDateResolution
Sets the number of milliseconds that the current date/time will be cached for queries before refreshing. This aids in query caching, otherwise every query that utilized current date would be different and caching would be ineffective.- Parameters:
currentDateResolution- the milliseconds to cache the current date/time
-