类 Y9SystemServiceImpl
- java.lang.Object
-
- net.risesoft.y9public.service.resource.impl.Y9SystemServiceImpl
-
- 所有已实现的接口:
Y9SystemService
@Service public class Y9SystemServiceImpl extends Object implements Y9SystemService
SystemServiceImpl- 作者:
- shidaobang, mengjuhua
- Date:
- 2022/3/2
-
-
构造器概要
构造器 构造器 说明 Y9SystemServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddelete(String id)根据id删除Y9Systemdisable(String id)根据id禁用Y9Systemenable(String id)根据id启用Optional<Y9System>findById(String id)根据id获取系统对象Optional<Y9System>findByName(String name)根据系统名称获取系统实体Y9SystemgetById(String id)根据id查询System实体Y9SystemgetByName(String systemName)根据名字查询System实体booleanisNameAvailable(String id, String name)检查系统名称可用性List<Y9System>listAll()查询所有Y9SystemList<String>listByAutoInit(Boolean autoInit)获取系统id列表List<Y9System>listByCnNameContaining(String cnName)根据系统中文名称,模糊搜索系统列表List<Y9System>listByContextPath(String contextPath)根据contextPath获取系统实体List<Y9System>listByIds(List<String> systemIdList)List<Y9System>listByTenantId(String tenantId)按租户ID获取系统列表org.springframework.data.domain.Page<Y9System>page(net.risesoft.pojo.Y9PageQuery pageQuery)分页查询系统列表Y9SystemsaveAndRegister4Tenant(Y9System y9System)voidsaveOrder(String[] systemIds)保存系统排序Y9SystemsaveOrUpdate(Y9System y9System)保存系统
-
-
-
方法详细资料
-
delete
@Transactional(readOnly=false) public void delete(String id)
从接口复制的说明:Y9SystemService根据id删除- 指定者:
delete在接口中Y9SystemService- 参数:
id- 唯一标识
-
disable
@Transactional(readOnly=false) public Y9System disable(String id)
从接口复制的说明:Y9SystemService根据id禁用- 指定者:
disable在接口中Y9SystemService- 参数:
id- 唯一标识- 返回:
Y9System
-
enable
@Transactional(readOnly=false) public Y9System enable(String id)
从接口复制的说明:Y9SystemService根据id启用- 指定者:
enable在接口中Y9SystemService- 参数:
id- 唯一标识- 返回:
Y9System
-
findById
public Optional<Y9System> findById(String id)
从接口复制的说明:Y9SystemService根据id获取系统对象- 指定者:
findById在接口中Y9SystemService- 参数:
id- 唯一标识- 返回:
Optional<Y9System>系统对象 或 null
-
findByName
public Optional<Y9System> findByName(String name)
从接口复制的说明:Y9SystemService根据系统名称获取系统实体- 指定者:
findByName在接口中Y9SystemService- 参数:
name- 系统名- 返回:
Optional<Y9System>
-
getById
public Y9System getById(String id)
从接口复制的说明:Y9SystemService根据id查询System实体- 指定者:
getById在接口中Y9SystemService- 参数:
id- 唯一标识- 返回:
- 系统对象
-
getByName
public Y9System getByName(String systemName)
从接口复制的说明:Y9SystemService根据名字查询System实体- 指定者:
getByName在接口中Y9SystemService- 参数:
systemName- 系统名称- 返回:
Y9System
-
listAll
public List<Y9System> listAll()
从接口复制的说明:Y9SystemService查询所有Y9System- 指定者:
listAll在接口中Y9SystemService- 返回:
List<Y9System>
-
listByAutoInit
public List<String> listByAutoInit(Boolean autoInit)
从接口复制的说明:Y9SystemService获取系统id列表- 指定者:
listByAutoInit在接口中Y9SystemService- 参数:
autoInit- 是否自动租用系统- 返回:
List<Y9System>
-
listByCnNameContaining
public List<Y9System> listByCnNameContaining(String cnName)
从接口复制的说明:Y9SystemService根据系统中文名称,模糊搜索系统列表- 指定者:
listByCnNameContaining在接口中Y9SystemService- 参数:
cnName- 系统中文名称- 返回:
List<Y9System>
-
listByContextPath
public List<Y9System> listByContextPath(String contextPath)
从接口复制的说明:Y9SystemService根据contextPath获取系统实体- 指定者:
listByContextPath在接口中Y9SystemService- 参数:
contextPath- 上下文路径- 返回:
List<Y9System>
-
listByIds
public List<Y9System> listByIds(List<String> systemIdList)
- 指定者:
listByIds在接口中Y9SystemService
-
listByTenantId
public List<Y9System> listByTenantId(String tenantId)
从接口复制的说明:Y9SystemService按租户ID获取系统列表- 指定者:
listByTenantId在接口中Y9SystemService- 参数:
tenantId- 租户 ID- 返回:
List<Y9System>
-
page
public org.springframework.data.domain.Page<Y9System> page(net.risesoft.pojo.Y9PageQuery pageQuery)
从接口复制的说明:Y9SystemService分页查询系统列表- 指定者:
page在接口中Y9SystemService- 参数:
pageQuery- 分页查询参数- 返回:
Page<Y9System>
-
saveAndRegister4Tenant
@Transactional(readOnly=false) public Y9System saveAndRegister4Tenant(Y9System y9System)
- 指定者:
saveAndRegister4Tenant在接口中Y9SystemService
-
saveOrder
@Transactional(readOnly=false) public void saveOrder(String[] systemIds)
从接口复制的说明:Y9SystemService保存系统排序- 指定者:
saveOrder在接口中Y9SystemService- 参数:
systemIds- 系统id数组
-
saveOrUpdate
@Transactional(readOnly=false) public Y9System saveOrUpdate(Y9System y9System)
从接口复制的说明:Y9SystemService保存系统- 指定者:
saveOrUpdate在接口中Y9SystemService- 参数:
y9System- 系统对象- 返回:
Y9System
-
isNameAvailable
public boolean isNameAvailable(String id, String name)
从接口复制的说明:Y9SystemService检查系统名称可用性- 指定者:
isNameAvailable在接口中Y9SystemService- 参数:
id- idname- 系统名- 返回:
- boolean
-
-