admin
2019-02-21 7e57a20c0ccde504c2f2b2b9fd4a9fd7c89d5e92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package org.fanli.facade.user.service.account;
 
import org.fanli.facade.user.entity.account.ForbiddenUserIdentifyCode;
import org.fanli.facade.user.entity.account.ForbiddenUserIdentifyCode.ForbiddenUserIdentifyCodeTypeEnum;
import org.fanli.facade.user.exception.account.ForbiddenUserIdentifyCodeException;
 
public interface ForbiddenUserIdentifyCodeService {
 
    /**
     * 添加禁止标识
     * 
     * @param identifyCode
     * @throws ForbiddenUserIdentifyCodeException
     */
    public void addIdentifyCode(ForbiddenUserIdentifyCode identifyCode) throws ForbiddenUserIdentifyCodeException;
 
    /**
     * 通过类型与唯一标识获取列表
     * 
     * @param type
     * @param identifyCode
     * @return
     */
    public ForbiddenUserIdentifyCode listByTypeAndIdentifyCode(ForbiddenUserIdentifyCodeTypeEnum type,
            String identifyCode);
 
    /**
     * 
     * @param identifyCode
     */
    public void update(ForbiddenUserIdentifyCode identifyCode);
 
    /**
     * 
     * @param identifyCode
     */
    public void delete(ForbiddenUserIdentifyCode identifyCode);
 
}