Package org.dspace.content.service
Interface FeedbackService
-
- All Known Implementing Classes:
FeedbackServiceImpl
public interface FeedbackServiceService interface class for the Feedback object.- Author:
- Mykhaylo Boychuk (mykhaylo.boychuk@4science.com)
-
-
Method Summary
All Methods Instance Methods Abstract 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
void sendEmail(Context context, javax.servlet.http.HttpServletRequest request, String recipientEmail, String senderEmail, String message, String page) throws IOException, javax.mail.MessagingException
This method sends the feeback email to the recipient passed as parameter- 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
-
-