新增接口
This commit is contained in:
parent
a32bee900e
commit
09f7200e1c
@ -0,0 +1,24 @@
|
||||
package ink.wgink.interfaces.department;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName: IDepartmentDeleteAfterHandler
|
||||
* @Description: 部门删除后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 12:14 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IDepartmentDeleteAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param departmentIds 部门ID列表
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(List<String> departmentIds) throws SystemException;
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package ink.wgink.interfaces.department;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
/**
|
||||
* @ClassName: IDepartmentSaveAfterHandler
|
||||
* @Description: 部门新增后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 11:58 AM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IDepartmentSaveAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param departmentId 部门ID
|
||||
* @param departmentParentId 上级ID
|
||||
* @param departmentName 部门名称
|
||||
* @param departmentCode 部门编码
|
||||
* @param departmentType 部门类别
|
||||
* @param departmentAreaCode 部门地区编码
|
||||
* @param departmentAreaCode 部门地区名称
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String departmentId,
|
||||
String departmentParentId,
|
||||
String departmentName,
|
||||
String departmentCode,
|
||||
Integer departmentType,
|
||||
String departmentAreaCode,
|
||||
String departmentAreaName) throws SystemException;
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package ink.wgink.interfaces.department;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
/**
|
||||
* @ClassName: IDepartmentUpdateAfterHandler
|
||||
* @Description: 部门修改后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 11:59 AM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IDepartmentUpdateAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param departmentId 部门ID
|
||||
* @param departmentParentId 上级ID
|
||||
* @param departmentName 部门名称
|
||||
* @param departmentType 部门类别
|
||||
* @param departmentAreaCode 部门地区编码
|
||||
* @param departmentAreaName 部门地区名称
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String departmentId,
|
||||
String departmentParentId,
|
||||
String departmentName,
|
||||
Integer departmentType,
|
||||
String departmentAreaCode,
|
||||
String departmentAreaName) throws SystemException;
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package ink.wgink.interfaces.department;
|
||||
|
||||
import ink.wgink.exceptions.SearchException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName: IDepartmentUserDeleteAfterHandler
|
||||
* @Description: 部门用户删除后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 3:21 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IDepartmentUserDeleteAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param departmentId 部门ID
|
||||
* @param userIds 用户ID列表
|
||||
* @throws SearchException
|
||||
*/
|
||||
void handle(String departmentId, List<String> userIds) throws SearchException;
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package ink.wgink.interfaces.department;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName: IDepartmentUserSaveAfterHandler
|
||||
* @Description: 部门用户新增后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 3:20 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IDepartmentUserSaveAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param departmentId 部门ID
|
||||
* @param userIds 用户ID列表
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String departmentId, List<String> userIds) throws SystemException;
|
||||
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
package ink.wgink.interfaces.map;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -11,6 +13,12 @@ import java.util.List;
|
||||
*/
|
||||
public interface IGridDeleteAfterHandler {
|
||||
|
||||
void handler(List<String> gridIds);
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param gridIds 网格ID列表
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handler(List<String> gridIds) throws SystemException;
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
package ink.wgink.interfaces.map;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -12,10 +14,11 @@ import java.util.List;
|
||||
public interface IGridPointDeleteAfterHandler {
|
||||
|
||||
/**
|
||||
* 网格点删除
|
||||
* 操作
|
||||
*
|
||||
* @param gridIds
|
||||
* @param gridIds 网格ID列表
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(List<String> gridIds);
|
||||
void handle(List<String> gridIds) throws SystemException;
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
package ink.wgink.interfaces.map;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
/**
|
||||
* @ClassName: IGridPointSaveAfterHandler
|
||||
* @Description: 网格点新增后处理
|
||||
@ -10,10 +12,11 @@ package ink.wgink.interfaces.map;
|
||||
public interface IGridPointSaveAfterHandler {
|
||||
|
||||
/**
|
||||
* 网格点新增
|
||||
* 操作
|
||||
*
|
||||
* @param gridId 网格ID
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String gridId);
|
||||
void handle(String gridId) throws SystemException;
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
package ink.wgink.interfaces.map;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -12,10 +14,11 @@ import java.util.List;
|
||||
public interface IGridRelationDeleteAfterHandler {
|
||||
|
||||
/**
|
||||
* 删除列表
|
||||
* 操作
|
||||
*
|
||||
* @param relationIds
|
||||
* @param relationIds 关联ID
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(List<String> relationIds);
|
||||
void handle(List<String> relationIds) throws SystemException;
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
package ink.wgink.interfaces.map;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
import ink.wgink.pojo.dtos.user.UserDTO;
|
||||
|
||||
import java.util.List;
|
||||
@ -14,17 +15,19 @@ import java.util.List;
|
||||
public interface IGridRelationSaveAfterHandler {
|
||||
|
||||
/**
|
||||
* 新增网格关系
|
||||
* 操作
|
||||
*
|
||||
* @param relationIds 关系ID列表
|
||||
* @throws Exception
|
||||
*/
|
||||
void handle(List<String> relationIds);
|
||||
void handle(List<String> relationIds) throws SystemException;
|
||||
|
||||
/**
|
||||
* 新增网格关系
|
||||
* 操作
|
||||
*
|
||||
* @param relationId
|
||||
* @param userDTO 用户
|
||||
* @throws Exception
|
||||
*/
|
||||
void handle(UserDTO userDTO);
|
||||
void handle(UserDTO userDTO) throws SystemException;
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
package ink.wgink.interfaces.map;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
/**
|
||||
* @ClassName: GridSaveAfterHandler
|
||||
* @Description: 网格新增后处理
|
||||
@ -18,7 +20,8 @@ public interface IGridSaveAfterHandler {
|
||||
* @param fillColor 填充颜色
|
||||
* @param areaCode 区域编码
|
||||
* @param areaName 区域名称
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String gridId, String gridCode, String gridName, String fillColor, String areaCode, String areaName);
|
||||
void handle(String gridId, String gridCode, String gridName, String fillColor, String areaCode, String areaName) throws SystemException;
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
package ink.wgink.interfaces.map;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
/**
|
||||
* @ClassName: IGridUpdateAfterHandler
|
||||
* @Description: 网格更新后处理
|
||||
@ -15,7 +17,8 @@ public interface IGridUpdateAfterHandler {
|
||||
* @param gridId 网格ID
|
||||
* @param gridName 网格名称
|
||||
* @param fillColor 填充颜色
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String gridId, String gridName, String fillColor);
|
||||
void handle(String gridId, String gridName, String fillColor) throws SystemException;
|
||||
|
||||
}
|
||||
|
@ -60,4 +60,13 @@ public interface IRoleUserBaseService {
|
||||
* @return
|
||||
*/
|
||||
List<RoleSimpleDTO> listSimple(List<RolePO> rolePOs);
|
||||
|
||||
/**
|
||||
* 用户ID列表
|
||||
*
|
||||
* @param roleId 角色ID
|
||||
* @param userIds 用户ID列表
|
||||
* @return
|
||||
*/
|
||||
List<String> listUserIdByRoleIdAndUserIds(String roleId, List<String> userIds);
|
||||
}
|
||||
|
@ -0,0 +1,25 @@
|
||||
package ink.wgink.interfaces.role;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName: IRoleUserUpdateAfterHandler
|
||||
* @Description: 角色用户删除后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 12:00 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IRoleUserDeleteAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param roleId 角色ID
|
||||
* @param userIds 用户ID列表
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String roleId, List<String> userIds) throws SystemException;
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package ink.wgink.interfaces.role;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName: IRoleUserSaveAfterHandler
|
||||
* @Description: 角色用户新增后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 12:00 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IRoleUserSaveAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param roleId 角色ID
|
||||
* @param userIds 用户ID列表
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String roleId, List<String> userIds) throws SystemException;
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package ink.wgink.interfaces.user;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
/**
|
||||
* @ClassName: IUserSaveAfterHandler
|
||||
* @Description: 用户新增后操作
|
||||
* @Author: wanggeng
|
||||
* @Date: 2022/1/26 12:15 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IUserSaveAfterHandler {
|
||||
|
||||
/**
|
||||
* 操作
|
||||
*
|
||||
* @param userId 用户ID
|
||||
* @param username 用户名
|
||||
* @param userName 用户昵称
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String userId, String username, String userName) throws SystemException;
|
||||
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
package ink.wgink.interfaces.user;
|
||||
|
||||
import ink.wgink.exceptions.base.SystemException;
|
||||
|
||||
/**
|
||||
* @ClassName: IUserUpdateAfterHandlerImpl
|
||||
* @Description: 用户修改后操作
|
||||
@ -12,8 +14,9 @@ public interface IUserUpdateAfterHandler {
|
||||
/**
|
||||
* 修改后操作
|
||||
*
|
||||
* @param userId 用户ID
|
||||
* @param userId
|
||||
* @throws SystemException
|
||||
*/
|
||||
void handle(String userId);
|
||||
void handle(String userId) throws SystemException;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user