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);
|
|
}
|