Package com.bytedesk.voc.notification
Class VocNotificationServiceImpl
java.lang.Object
com.bytedesk.voc.notification.VocNotificationServiceImpl
- All Implemented Interfaces:
VocNotificationService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FeedbackService
private org.springframework.mail.javamail.JavaMailSender
private VocConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyFeedbackAssigned
(Long feedbackId, Long assignedTo) void
notifyInternalReply
(Long feedbackId, Long replyId) void
notifyNewFeedback
(Long feedbackId) void
notifyNewReply
(Long feedbackId, Long replyId) void
notifyStatusChanged
(Long feedbackId, String status) private void
-
Field Details
-
mailSender
@Autowired private org.springframework.mail.javamail.JavaMailSender mailSender -
vocConfig
-
feedbackService
-
-
Constructor Details
-
VocNotificationServiceImpl
public VocNotificationServiceImpl()
-
-
Method Details
-
notifyNewFeedback
- Specified by:
notifyNewFeedback
in interfaceVocNotificationService
-
notifyFeedbackAssigned
- Specified by:
notifyFeedbackAssigned
in interfaceVocNotificationService
-
notifyStatusChanged
- Specified by:
notifyStatusChanged
in interfaceVocNotificationService
-
notifyNewReply
- Specified by:
notifyNewReply
in interfaceVocNotificationService
-
notifyInternalReply
- Specified by:
notifyInternalReply
in interfaceVocNotificationService
-
sendEmail
private void sendEmail(String to, String subject, String content) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-