Interface CouponNotificationDao
-
- All Superinterfaces:
GenericDao<CouponNotificationModel>
- All Known Implementing Classes:
DefaultCouponNotificationDao
public interface CouponNotificationDao extends GenericDao<CouponNotificationModel>
Looks up items related toCouponNotificationModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<CouponNotificationModel>
findAllCouponNotifications()
Finds all customer coupons applicable for sending out notificationsjava.util.List<CouponNotificationModel>
findCouponNotificationByCouponCode(java.lang.String couponCode)
Finds coupon notifications by coupon codejava.util.List<CouponNotificationModel>
findCouponNotificationsForCustomer(CustomerModel customer)
Finds coupon notifications for the customer
-
-
-
Method Detail
-
findAllCouponNotifications
default java.util.List<CouponNotificationModel> findAllCouponNotifications()
Finds all customer coupons applicable for sending out notifications- Returns:
- the list of CouponNotificationModel
-
findCouponNotificationByCouponCode
java.util.List<CouponNotificationModel> findCouponNotificationByCouponCode(java.lang.String couponCode)
Finds coupon notifications by coupon code- Parameters:
couponCode
- the coupon code- Returns:
- the list of CouponNotificationModel
-
findCouponNotificationsForCustomer
java.util.List<CouponNotificationModel> findCouponNotificationsForCustomer(CustomerModel customer)
Finds coupon notifications for the customer- Parameters:
customer
- the customer model- Returns:
- the list of CouponNotificationModel
-
-