Package com.bytedesk.voc.notification
Class VocNotificationServiceImpl
java.lang.Object
com.bytedesk.voc.notification.VocNotificationServiceImpl
- All Implemented Interfaces:
VocNotificationService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FeedbackServiceprivate org.springframework.mail.javamail.JavaMailSenderprivate VocConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyFeedbackAssigned(Long feedbackId, Long assignedTo) voidnotifyInternalReply(Long feedbackId, Long replyId) voidnotifyNewFeedback(Long feedbackId) voidnotifyNewReply(Long feedbackId, Long replyId) voidnotifyStatusChanged(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:
notifyNewFeedbackin interfaceVocNotificationService
-
notifyFeedbackAssigned
- Specified by:
notifyFeedbackAssignedin interfaceVocNotificationService
-
notifyStatusChanged
- Specified by:
notifyStatusChangedin interfaceVocNotificationService
-
notifyNewReply
- Specified by:
notifyNewReplyin interfaceVocNotificationService
-
notifyInternalReply
- Specified by:
notifyInternalReplyin interfaceVocNotificationService
-
sendEmail
private void sendEmail(String to, String subject, String content) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-