类 Y9DepartmentPropServiceImpl
- java.lang.Object
-
- net.risesoft.service.org.impl.Y9DepartmentPropServiceImpl
-
- 所有已实现的接口:
Y9DepartmentPropService
@Transactional(value="rsTenantTransactionManager", readOnly=true) @Service public class Y9DepartmentPropServiceImpl extends Object implements Y9DepartmentPropService- 作者:
- dingzhaojun, qinman, mengjuhua
- Date:
- 2022/2/10
-
-
构造器概要
构造器 构造器 说明 Y9DepartmentPropServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddeleteByDeptId(String deptId)根据部门唯一标识删除voiddeleteById(String id)根据部门唯一标识删除Optional<Y9DepartmentProp>findById(String id)根据部门唯一标识查找List<Y9DepartmentProp>listAll()查找所有的部门管理员List<Y9DepartmentProp>listByCategory(net.risesoft.enums.platform.DepartmentPropCategoryEnum category)根据部门唯一标识和类别查找部门配置信息List<Y9DepartmentProp>listByDeptId(String deptId)根据部门唯一标识查找部门配置信息List<Y9DepartmentProp>listByDeptIdAndCategory(String deptId, net.risesoft.enums.platform.DepartmentPropCategoryEnum category)根据部门唯一标识和类别查找部门配置信息List<Y9DepartmentProp>listByOrgBaseIdAndCategory(String orgBaseId, net.risesoft.enums.platform.DepartmentPropCategoryEnum category)根据人员唯一标识查找管理的部门voidonDepartmentDeleted(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9Department> event)voidonPersonDeleted(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9Person> event)voidonPositionDeleted(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9Position> event)voidsaveOrUpdate(Y9DepartmentProp y9DepartmentProp)保存或者更新
-
-
-
方法详细资料
-
deleteByDeptId
@Transactional(readOnly=false) public void deleteByDeptId(String deptId)
从接口复制的说明:Y9DepartmentPropService根据部门唯一标识删除- 指定者:
deleteByDeptId在接口中Y9DepartmentPropService- 参数:
deptId- 唯一标识
-
deleteById
@Transactional(readOnly=false) public void deleteById(String id)
从接口复制的说明:Y9DepartmentPropService根据部门唯一标识删除- 指定者:
deleteById在接口中Y9DepartmentPropService- 参数:
id- 唯一标识
-
findById
public Optional<Y9DepartmentProp> findById(String id)
从接口复制的说明:Y9DepartmentPropService根据部门唯一标识查找- 指定者:
findById在接口中Y9DepartmentPropService- 参数:
id- 唯一标识- 返回:
- 部门配置对象 或 null
-
listAll
public List<Y9DepartmentProp> listAll()
从接口复制的说明:Y9DepartmentPropService查找所有的部门管理员- 指定者:
listAll在接口中Y9DepartmentPropService- 返回:
List<Y9DepartmentProp>
-
listByCategory
public List<Y9DepartmentProp> listByCategory(net.risesoft.enums.platform.DepartmentPropCategoryEnum category)
从接口复制的说明:Y9DepartmentPropService根据部门唯一标识和类别查找部门配置信息- 指定者:
listByCategory在接口中Y9DepartmentPropService- 参数:
category- 类别- 返回:
List<Y9DepartmentProp>
-
listByDeptId
public List<Y9DepartmentProp> listByDeptId(String deptId)
从接口复制的说明:Y9DepartmentPropService根据部门唯一标识查找部门配置信息- 指定者:
listByDeptId在接口中Y9DepartmentPropService- 参数:
deptId- 部门id- 返回:
List<Y9DepartmentProp>
-
listByDeptIdAndCategory
public List<Y9DepartmentProp> listByDeptIdAndCategory(String deptId, net.risesoft.enums.platform.DepartmentPropCategoryEnum category)
从接口复制的说明:Y9DepartmentPropService根据部门唯一标识和类别查找部门配置信息- 指定者:
listByDeptIdAndCategory在接口中Y9DepartmentPropService- 参数:
deptId- 部门idcategory- 类别- 返回:
List<Y9DepartmentProp>
-
listByOrgBaseIdAndCategory
public List<Y9DepartmentProp> listByOrgBaseIdAndCategory(String orgBaseId, net.risesoft.enums.platform.DepartmentPropCategoryEnum category)
从接口复制的说明:Y9DepartmentPropService根据人员唯一标识查找管理的部门- 指定者:
listByOrgBaseIdAndCategory在接口中Y9DepartmentPropService- 参数:
orgBaseId- 组织节点idcategory- 类别- 返回:
List<Y9DepartmentProp>
-
saveOrUpdate
@Transactional(readOnly=false) public void saveOrUpdate(Y9DepartmentProp y9DepartmentProp)
从接口复制的说明:Y9DepartmentPropService保存或者更新- 指定者:
saveOrUpdate在接口中Y9DepartmentPropService- 参数:
y9DepartmentProp- 部门属性对象
-
onDepartmentDeleted
@EventListener @Transactional(readOnly=false) public void onDepartmentDeleted(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9Department> event)
-
onPersonDeleted
@EventListener @Transactional(readOnly=false) public void onPersonDeleted(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9Person> event)
-
onPositionDeleted
@EventListener @Transactional(readOnly=false) public void onPositionDeleted(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9Position> event)
-
-