Interface OfferDao

All Known Implementing Classes:
OfferDaoImpl

public interface OfferDao
  • Method Details

    • save

    • readAllOffers

      List<Offer> readAllOffers()
    • readOfferById

      Offer readOfferById(Long offerId)
    • readOffersByAutomaticDeliveryType

      List<Offer> readOffersByAutomaticDeliveryType()
    • save

      Offer save(Offer offer)
    • delete

      void delete(Offer offer)
    • 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

      OfferInfo save(OfferInfo offerInfo)
    • delete

      void delete(OfferInfo offerInfo)
    • 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

      void setCurrentDateResolution(Long currentDateResolution)
      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