public abstract class AbstractCouponNotificationJob extends AbstractJobPerformable<CronJobModel>
flexibleSearchService, modelService, sessionService| Constructor and Description |
|---|
AbstractCouponNotificationJob() |
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionServicepublic PerformResult perform(CronJobModel job)
perform in interface JobPerformable<CronJobModel>perform in class AbstractJobPerformable<CronJobModel>job - cronjob modelprotected void sendNotification(CouponNotificationModel notification, DateTime effectiveDay, DateTime expireDay, java.util.Map<CustomerCouponModel,SiteMessageModel> messages)
protected SiteMessageModel createSiteMessage(CouponNotificationModel notification, NotificationType notificationType)
protected void sendCouponNotificaiton(CouponNotificationModel couponNotification, NotificationType notificationType, SiteMessageModel message)
protected abstract CouponNotificationTask createTask(java.util.Map<java.lang.String,ItemModel> data)
protected CustomerCouponDao getCustomerCouponDao()
public void setCustomerCouponDao(CustomerCouponDao customerCouponDao)
public void setTaskExecutor(TaskExecutor taskExecutor)
protected TaskExecutor getTaskExecutor()
protected NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
protected CouponNotificationDao getCouponNotificationDao()
public void setCouponNotificationDao(CouponNotificationDao couponNotificationDao)
protected SiteMessageService getSiteMessageService()
public void setSiteMessageService(SiteMessageService siteMessageService)
protected CommerceCommonI18NService getCommerceCommonI18NService()
public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
Copyright © 2018 SAP SE. All Rights Reserved.