接口 Y9PersonManager
-
- 所有已知实现类:
Y9PersonManagerImpl
public interface Y9PersonManager
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voiddelete(Y9Person y9Person)Optional<Y9Person>findById(String id)Optional<Y9Person>findByIdNotCache(String id)根据id,获取人员信息(直接读取数据库)Y9PersongetById(String id)根据主键id获取人员实例Y9PersongetByIdNotCache(String id)List<Y9Person>listByGroupId(String groupId, Boolean disabled)List<Y9Person>listByParentId(String parentId, Boolean disabled)List<Y9Person>listByPositionId(String positionId, Boolean disabled)Y9Personsave(Y9Person y9Person)Y9PersonsaveOrUpdate(Y9Person person, Y9PersonExt personExt)Y9PersonsaveProperties(String id, String properties)保存或者更新人员扩展信息Y9PersonupdateTabIndex(String id, int tabIndex)
-
-
-
方法详细资料
-
delete
void delete(Y9Person y9Person)
-
findByIdNotCache
Optional<Y9Person> findByIdNotCache(String id)
根据id,获取人员信息(直接读取数据库)- 参数:
id- 人员id- 返回:
Optional<Y9Person>
-
getById
Y9Person getById(String id)
根据主键id获取人员实例- 参数:
id- 唯一标识- 返回:
Y9Person人员对象- 抛出:
net.risesoft.y9.exception.Y9NotFoundException- id 对应的记录不存在的情况
-
saveOrUpdate
Y9Person saveOrUpdate(Y9Person person, Y9PersonExt personExt)
-
saveProperties
Y9Person saveProperties(String id, String properties)
保存或者更新人员扩展信息- 参数:
id- 人员idproperties- 扩展属性- 返回:
Y9Person
-
-