提交 | 用户 | age
|
385e2d
|
1 |
package com.yc.crm.mail.service; |
X |
2 |
|
|
3 |
import com.yc.crm.mail.entity.T482102Entity; |
|
4 |
|
|
5 |
import java.util.List; |
|
6 |
|
|
7 |
public interface MailAccountIfc { |
|
8 |
|
|
9 |
/** |
|
10 |
* 添加新的邮箱配置 |
877259
|
11 |
* |
385e2d
|
12 |
* @param account |
X |
13 |
*/ |
3b74e3
|
14 |
abstract T482102Entity addEmailAccount(T482102Entity account); |
385e2d
|
15 |
|
X |
16 |
/** |
|
17 |
* 修改邮箱配置 |
877259
|
18 |
* |
385e2d
|
19 |
* @param account |
X |
20 |
* @return |
|
21 |
*/ |
|
22 |
abstract Integer updateEmailAccount(T482102Entity account); |
|
23 |
|
|
24 |
/** |
7cf738
|
25 |
* 更新时间 |
X |
26 |
* @param accountId |
|
27 |
* @return |
|
28 |
*/ |
|
29 |
abstract Integer updateEmailTime(Integer accountId); |
|
30 |
|
|
31 |
/** |
877259
|
32 |
* 修改邮箱状态 |
X |
33 |
* |
|
34 |
* @param status |
|
35 |
* @return |
|
36 |
*/ |
|
37 |
abstract Integer updateMailStatus(String status, Integer accountId); |
|
38 |
|
|
39 |
/** |
|
40 |
* 修改别名邮箱 |
|
41 |
* |
|
42 |
* @param status |
|
43 |
* @return |
|
44 |
*/ |
|
45 |
abstract Integer updateAliasEmail(String aliasEmail, Integer accountId); |
|
46 |
|
|
47 |
/** |
385e2d
|
48 |
* 删除邮箱配置 |
877259
|
49 |
* |
385e2d
|
50 |
* @param userCode |
X |
51 |
* @param accountId |
|
52 |
* @return |
|
53 |
*/ |
877259
|
54 |
abstract Integer deleteEmailAccount(String userCode, Integer accountId); |
X |
55 |
|
385e2d
|
56 |
/** |
X |
57 |
* 用户绑定的邮箱信息 |
877259
|
58 |
* |
385e2d
|
59 |
* @param userCode |
X |
60 |
* @return |
|
61 |
*/ |
877259
|
62 |
abstract List<T482102Entity> getAccount(String userCode); |
X |
63 |
|
|
64 |
abstract T482102Entity getAccountInfo(String userCode, Integer accountId) throws Exception; |
|
65 |
|
|
66 |
abstract T482102Entity getAccountInfo(String userCode, String eMail) throws Exception; |
18553a
|
67 |
|
F |
68 |
/** |
|
69 |
* 获取所有用户邮箱 |
|
70 |
* @return |
|
71 |
*/ |
|
72 |
List<T482102Entity> getAccountList(); |
385e2d
|
73 |
} |