
org.dspace.content.service.FeedbackService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
The newest version!
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.content.service;
import java.io.IOException;
import jakarta.mail.MessagingException;
import jakarta.servlet.http.HttpServletRequest;
import org.dspace.core.Context;
/**
* Service interface class for the Feedback object.
*
* @author Mykhaylo Boychuk ([email protected])
*/
public interface FeedbackService {
/**
* This method sends the feedback email to the recipient passed as parameter
* @param context current DSpace application context
* @param request current servlet request
* @param recipientEmail recipient to which mail is sent
* @param senderEmail email address of the sender
* @param message message body
* @param page page from which user accessed and filled feedback form
* @throws IOException
* @throws MessagingException
*/
public void sendEmail(Context context, HttpServletRequest request, String recipientEmail, String senderEmail,
String message, String page) throws IOException, MessagingException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy