Class FeedbackServiceImpl

  • All Implemented Interfaces:
    FeedbackService

    public class FeedbackServiceImpl
    extends Object
    implements FeedbackService
    Implementation of FeedbackService interface. It is responsible for sendint a feedback email with content a DSpace user fills from feedback section of DSpace.
    • Constructor Detail

      • FeedbackServiceImpl

        public FeedbackServiceImpl()
    • Method Detail

      • sendEmail

        public void sendEmail​(Context context,
                              javax.servlet.http.HttpServletRequest request,
                              String recipientEmail,
                              String senderEmail,
                              String message,
                              String page)
                       throws IOException,
                              javax.mail.MessagingException
        Description copied from interface: FeedbackService
        This method sends the feeback email to the recipient passed as parameter
        Specified by:
        sendEmail in interface FeedbackService
        Parameters:
        context - current DSpace application context
        request - current servlet request
        recipientEmail - recipient to which mail is sent
        senderEmail - email address of the sender
        message - message body
        page - page from which user accessed and filled feedback form
        Throws:
        IOException
        javax.mail.MessagingException