admin
2019-02-20 798726377b4a11f8c962dc4320a264b97ae435aa
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 com.yeshi.fanli.service.inter.user;
 
import com.yeshi.fanli.entity.bus.user.ForbiddenUserIdentifyCode;
import com.yeshi.fanli.entity.bus.user.ForbiddenUserIdentifyCode.ForbiddenUserIdentifyCodeTypeEnum;
import com.yeshi.fanli.exception.user.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);
 
}