类 Y9PersonManagerImpl
- java.lang.Object
-
- net.risesoft.manager.org.impl.Y9PersonManagerImpl
-
- 所有已实现的接口:
Y9PersonManager
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) @CacheConfig(cacheNames="y9cache_orgPerson") public class Y9PersonManagerImpl extends Object implements Y9PersonManager
-
-
构造器概要
构造器 构造器 说明 Y9PersonManagerImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)保存或者更新人员扩展信息voidupdatePersonByOriginalId(Y9Person originalPerson, Y9PersonExt originalExt)Y9PersonupdateTabIndex(String id, int tabIndex)
-
-
-
方法详细资料
-
delete
@CacheEvict(key="#y9Person.id") @Transactional(readOnly=false) public void delete(Y9Person y9Person)
- 指定者:
delete在接口中Y9PersonManager
-
findById
@Cacheable(key="#id", condition="#id!=null", unless="#result==null") public Optional<Y9Person> findById(String id)- 指定者:
findById在接口中Y9PersonManager
-
findByIdNotCache
public Optional<Y9Person> findByIdNotCache(String id)
从接口复制的说明:Y9PersonManager根据id,获取人员信息(直接读取数据库)- 指定者:
findByIdNotCache在接口中Y9PersonManager- 参数:
id- 人员id- 返回:
Optional<Y9Person>
-
getByIdNotCache
public Y9Person getByIdNotCache(String id)
- 指定者:
getByIdNotCache在接口中Y9PersonManager
-
getById
@Cacheable(key="#id", condition="#id!=null", unless="#result==null") public Y9Person getById(String id)从接口复制的说明:Y9PersonManager根据主键id获取人员实例- 指定者:
getById在接口中Y9PersonManager- 参数:
id- 唯一标识- 返回:
Y9Person人员对象
-
listByGroupId
public List<Y9Person> listByGroupId(String groupId, Boolean disabled)
- 指定者:
listByGroupId在接口中Y9PersonManager
-
listByParentId
public List<Y9Person> listByParentId(String parentId, Boolean disabled)
- 指定者:
listByParentId在接口中Y9PersonManager
-
listByPositionId
public List<Y9Person> listByPositionId(String positionId, Boolean disabled)
- 指定者:
listByPositionId在接口中Y9PersonManager
-
save
@CacheEvict(key="#y9Person.id") @Transactional(readOnly=false) public Y9Person save(Y9Person y9Person)
- 指定者:
save在接口中Y9PersonManager
-
saveOrUpdate
@Transactional(readOnly=false) public Y9Person saveOrUpdate(Y9Person person, Y9PersonExt personExt)
- 指定者:
saveOrUpdate在接口中Y9PersonManager
-
saveProperties
@Transactional(readOnly=false) @CacheEvict(key="#id") public Y9Person saveProperties(String id, String properties)
从接口复制的说明:Y9PersonManager保存或者更新人员扩展信息- 指定者:
saveProperties在接口中Y9PersonManager- 参数:
id- 人员idproperties- 扩展属性- 返回:
Y9Person
-
updateTabIndex
@Transactional(readOnly=false) @CacheEvict(key="#id") public Y9Person updateTabIndex(String id, int tabIndex)
- 指定者:
updateTabIndex在接口中Y9PersonManager
-
updatePersonByOriginalId
@Transactional(readOnly=false) public void updatePersonByOriginalId(Y9Person originalPerson, Y9PersonExt originalExt)
-
-