Package org.dspace.content
Class FeedbackServiceImpl
- java.lang.Object
-
- org.dspace.content.FeedbackServiceImpl
-
- All Implemented Interfaces:
FeedbackService
public class FeedbackServiceImpl extends Object implements FeedbackService
Implementation ofFeedbackServiceinterface. It is responsible for sendint a feedback email with content a DSpace user fills from feedback section of DSpace.
-
-
Constructor Summary
Constructors Constructor Description FeedbackServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsendEmail(Context context, javax.servlet.http.HttpServletRequest request, String recipientEmail, String senderEmail, String message, String page)This method sends the feeback email to the recipient passed as parameter
-
-
-
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:FeedbackServiceThis method sends the feeback email to the recipient passed as parameter- Specified by:
sendEmailin interfaceFeedbackService- Parameters:
context- current DSpace application contextrequest- current servlet requestrecipientEmail- recipient to which mail is sentsenderEmail- email address of the sendermessage- message bodypage- page from which user accessed and filled feedback form- Throws:
IOExceptionjavax.mail.MessagingException
-
-