24 lines
818 B
Java
24 lines
818 B
Java
package eu.dnetlib.repo.manager.service.controllers;
|
|
|
|
import eu.dnetlib.domain.data.PiwikInfo;
|
|
import eu.dnetlib.domain.data.Repository;
|
|
import org.springframework.security.core.Authentication;
|
|
|
|
public interface EmailUtils {
|
|
|
|
|
|
void reportException(Exception exception);
|
|
|
|
void sendAdministratorRequestToEnableMetrics(PiwikInfo piwikInfo) throws Exception;
|
|
|
|
void sendUserRequestToEnableMetrics(PiwikInfo piwikInfo) throws Exception;
|
|
|
|
void sendAdministratorMetricsEnabled(PiwikInfo piwikInfo) throws Exception;
|
|
|
|
void sendUserMetricsEnabled(PiwikInfo piwikInfo) throws Exception;
|
|
|
|
void sendUserRegistrationEmail(Repository repository, Authentication authentication) throws Exception;
|
|
|
|
void sendUserUpdateRepositoryEmail(Repository repository, Authentication authentication) throws Exception;
|
|
}
|