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