public class UserServiceImpl extends WarmServiceImpl<FlowUserDao<User>,User> implements UserService
warmDao| Constructor and Description |
|---|
UserServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByTaskIds(List<Long> ids)
根据待办任务id删除流程用户
|
List<User> |
getByAssociateds(List<Long> associateds,
String... types)
根据(待办任务,实例,历史表,节点等)id查询权限人或者处理人
|
List<User> |
getByProcessedBys(Long associated,
List<String> processedBys,
String... types)
根据办理人查询
|
List<String> |
getPermission(Long associated,
String... types)
根据(待办任务,实例,历史表,节点等)id查询权限人或者处理人
|
List<User> |
listByAssociatedAndTypes(Long associated,
String... types)
根据(待办任务,实例,历史表,节点等)id查询权限人或者处理人
|
List<User> |
listByProcessedBys(Long associated,
String processedBy,
String... types)
根据办理人查询
|
UserService |
setDao(FlowUserDao<User> warmDao) |
List<User> |
setSkipUser(List<Task> addTasks,
Long taskId)
设置流程用户
|
List<User> |
structureUser(Long associated,
List<String> permissionList,
String type)
构造用户比表信息
|
List<User> |
structureUser(Long associated,
List<String> permissionList,
String type,
String handler)
构造用户比表信息
|
User |
structureUser(Long associated,
String permission,
String type)
构造用户比表信息
|
User |
structureUser(Long associated,
String permission,
String type,
String handler)
构造用户比表信息
|
List<User> |
taskAddUser(Task task)
待办任务增加流程人员
|
List<User> |
taskAddUsers(List<Task> addTasks)
设置流程用户
|
boolean |
updatePermission(Long associated,
List<String> permissions,
String type,
boolean clear,
String handler)
根据关联id更新权限人
|
exists, getById, getByIds, getDao, getOne, insertFill, list, list, orderBy, orderByAsc, orderByCreateTime, orderByDesc, orderById, orderByUpdateTime, page, remove, removeById, removeByIds, save, saveBatch, saveBatch, selectCount, updateBatch, updateById, updateFillclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexists, getById, getByIds, getDao, getOne, list, list, orderBy, orderByAsc, orderByCreateTime, orderByDesc, orderById, orderByUpdateTime, page, remove, removeById, removeByIds, save, saveBatch, saveBatch, selectCount, updateBatch, updateByIdpublic UserServiceImpl()
public UserService setDao(FlowUserDao<User> warmDao)
setDao in class WarmServiceImpl<FlowUserDao<User>,User>public List<User> taskAddUsers(List<Task> addTasks)
UserServicetaskAddUsers in interface UserServiceaddTasks - 待办任务public List<User> setSkipUser(List<Task> addTasks, Long taskId)
UserServicesetSkipUser in interface UserServiceaddTasks - 待办任务taskId - 任务idpublic List<User> taskAddUser(Task task)
UserServicetaskAddUser in interface UserServicetask - 待办任务任务信息public void deleteByTaskIds(List<Long> ids)
UserServicedeleteByTaskIds in interface UserServiceids - 待办任务id集合public List<String> getPermission(Long associated, String... types)
UserServicegetPermission in interface UserServiceassociated - 待办任务id集合types - 用户表类型public List<User> listByAssociatedAndTypes(Long associated, String... types)
UserServicelistByAssociatedAndTypes in interface UserServiceassociated - 待办任务idtypes - 用户表类型public List<User> getByAssociateds(List<Long> associateds, String... types)
UserServicegetByAssociateds in interface UserServiceassociateds - (待办任务,实例,历史表,节点等)id集合types - 用户表类型public List<User> listByProcessedBys(Long associated, String processedBy, String... types)
UserServicelistByProcessedBys in interface UserServiceassociated - 待办任务idprocessedBy - 办理人types - 用户表类型public List<User> getByProcessedBys(Long associated, List<String> processedBys, String... types)
UserServicegetByProcessedBys in interface UserServiceassociated - 待办任务idprocessedBys - 办理人id集合types - 用户表类型public boolean updatePermission(Long associated, List<String> permissions, String type, boolean clear, String handler)
UserServiceupdatePermission in interface UserServiceassociated - 关联人idpermissions - 权限人type - 权限人类型clear - 是否清空待办任务的计划审批人handler - 存储委派时的办理人public List<User> structureUser(Long associated, List<String> permissionList, String type)
UserServicestructureUser in interface UserServiceassociated - 关联idpermissionList - 权限标识集合type - 用户类型public User structureUser(Long associated, String permission, String type)
UserServicestructureUser in interface UserServiceassociated - 关联idpermission - 权限标识type - 用户类型public List<User> structureUser(Long associated, List<String> permissionList, String type, String handler)
UserServicestructureUser in interface UserServiceassociated - 关联idpermissionList - 权限标识集合type - 用户类型handler - 办理人(记录委派人)public User structureUser(Long associated, String permission, String type, String handler)
UserServicestructureUser in interface UserServiceassociated - 关联idpermission - 权限标识type - 用户类型handler - 办理人(记录委派人)Copyright © 2024. All rights reserved.