Project

General

Profile

1
package eu.dnetlib.goldoa.service.utils;
2

    
3
import eu.dnetlib.goldoa.domain.Budget;
4
import eu.dnetlib.goldoa.domain.Request;
5
import eu.dnetlib.goldoa.domain.Role;
6
import eu.dnetlib.goldoa.domain.User;
7

    
8
import javax.mail.MessagingException;
9
import java.util.List;
10

    
11
/**
12
 * Created by antleb on 5/6/15.
13
 */
14
public interface EmailUtils {
15
	void sendActivationEmail(User user, String token) throws MessagingException;
16

    
17
	void sendResetPasswordEmail(User user, String password) throws MessagingException;
18

    
19
	void sendRequesterOKEmail(Request Request) throws MessagingException;
20

    
21
	void sendModeratorOKEmail(Request Request, User moderator) throws MessagingException;
22

    
23
	void sendRequesterIFFYEmail(Request Request) throws MessagingException;
24

    
25
	void sendModeratorIFFYEmail(Request Request, User moderator) throws MessagingException;
26

    
27
	void sendRequesterInitiallyApprovedEmail(Request Request) throws MessagingException;
28

    
29
	void sendRequesterApprovedEmail(Request Request) throws MessagingException;
30

    
31
	void sendRequesterRejectedEmail(Request Request) throws MessagingException;
32

    
33
	void sendModeratorNewBudgetEmail(User moderator, Budget budget) throws MessagingException;
34

    
35
	void sendUserNewBudgetEmail(Budget budget) throws MessagingException;
36

    
37
	void sendUserAcceptedBudgetEmail(Budget budget) throws MessagingException;
38

    
39
	void sendModeratorAcceptedBudgetEmail(User moderator, Budget budget) throws MessagingException;
40

    
41
	void sendUserRejectedBudgetEmail(Budget budget) throws MessagingException;
42

    
43
	void sendModeratorRejectedBudgetEmail(User moderator, Budget budget) throws MessagingException;
44

    
45
	void sendUserRoleAcceptedEmail(User User, Role role) throws MessagingException;
46

    
47
	void sendModeratorRoleAcceptedEmail(User moderator, User user, Role role) throws MessagingException;
48

    
49
	void sendUserRoleRejectedEmail(User User, Role role) throws MessagingException;
50

    
51
	void sendModeratorRoleRejectedEmail(User moderator, User user, Role role) throws MessagingException;
52

    
53
	void sendUserRoleRequestedEmail(User User, List<Role> roles) throws MessagingException;
54

    
55
	void sendModeratorRoleRequestedEmail(User moderator, User user, List<Role> roles) throws MessagingException;
56

    
57
	void sendRequesterInvoiceNotification(Request Request) throws MessagingException;
58

    
59
	void sendPublisherInvoiceNotification(Request Request) throws MessagingException;
60

    
61
	void sendAccountingRequestApprovedEmail(User User, Request Request) throws MessagingException;
62

    
63
	void sendRequesterPaidEmail(Request Request) throws MessagingException;
64

    
65
	void sendEvaPaidEmail(String evaEmail, Request Request) throws MessagingException;
66

    
67
	void sendPublisherPaidEmail(Request Request) throws MessagingException;
68

    
69
	void sendModeratorPaidEmail(User moderator, Request Request) throws MessagingException;
70

    
71
	void sendRequesterOnHoldEmail(Request Request) throws MessagingException;
72

    
73
	void sendPublisherOnHoldEmail(Request Request) throws MessagingException;
74

    
75
	void sendModeratorOnHoldEmail(User moderator, Request Request) throws MessagingException;
76

    
77
	void sendRequesterDeniedEmail(Request Request) throws MessagingException;
78

    
79
	void sendPublisherDeniedEmail(Request Request) throws MessagingException;
80

    
81
	void sendModeratorDeniedEmail(User moderator, Request Request) throws MessagingException;
82

    
83
	void sendCoordinatorRequestSubmittedEmail(User coordinator, Request Request) throws MessagingException;
84

    
85
	void sendModeratorProcessingEmail(User User, Request Request) throws MessagingException;
86

    
87
	void sendModeratorInvoiceUploaded(User User, Request Request) throws MessagingException;
88
}
(1-1/7)