接口 ResourceCommonService<T extends Y9ResourceBase>
-
- 所有已知子接口:
Y9AppService,Y9MenuService,Y9OperationService
public interface ResourceCommonService<T extends Y9ResourceBase>- 作者:
- dingzhaojun, qinman, mengjuhua
- Date:
- 2022/2/10
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voiddelete(String id)删除资源voiddelete(List<String> idList)批量删除资源Tdisable(String id)禁用资源List<T>disable(List<String> idList)批量禁用资源Tenable(String id)启用资源List<T>enable(List<String> idList)批量启用资源booleanexistsById(String id)根据id判断资源是否存在Optional<T>findById(String id)根据id获取资源List<T>findByNameLike(String name)根据资源名称查找资源列表TgetById(String id)根据id获取资源TsaveOrUpdate(T resourceBase)新增或保存资源TupdateTabIndex(String id, int index)更新排列序号
-