@Service
public class ResourceService
extends java.lang.Object
| 构造器和说明 |
|---|
ResourceService(com.xforceplus.dao.ResourceDao resourceDao,
com.xforceplus.dao.ResourceApiRelDao resourceApiRelDao,
com.xforceplus.dao.ServiceApiDao serviceApiDao,
org.springframework.data.redis.core.RedisTemplate redisTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
count(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query) |
java.util.Optional<com.xforceplus.entity.Resource> |
findOne(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query) |
java.util.List<com.xforceplus.entity.Resource> |
list(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query,
org.springframework.data.domain.Sort sort) |
java.util.List<com.xforceplus.entity.Resource> |
list(org.springframework.data.jpa.domain.Specification<com.xforceplus.entity.Resource> specification,
org.springframework.data.domain.Sort sort) |
org.springframework.data.domain.Page<com.xforceplus.entity.Resource> |
page(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query,
org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<com.xforceplus.entity.Resource> |
page(org.springframework.data.jpa.domain.Specification<com.xforceplus.entity.Resource> specification,
org.springframework.data.domain.Pageable pageable) |
public ResourceService(com.xforceplus.dao.ResourceDao resourceDao,
com.xforceplus.dao.ResourceApiRelDao resourceApiRelDao,
com.xforceplus.dao.ServiceApiDao serviceApiDao,
org.springframework.data.redis.core.RedisTemplate redisTemplate)
public org.springframework.data.domain.Page<com.xforceplus.entity.Resource> page(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query,
org.springframework.data.domain.Pageable pageable)
public org.springframework.data.domain.Page<com.xforceplus.entity.Resource> page(org.springframework.data.jpa.domain.Specification<com.xforceplus.entity.Resource> specification,
org.springframework.data.domain.Pageable pageable)
public java.util.List<com.xforceplus.entity.Resource> list(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query,
org.springframework.data.domain.Sort sort)
public java.util.List<com.xforceplus.entity.Resource> list(org.springframework.data.jpa.domain.Specification<com.xforceplus.entity.Resource> specification,
org.springframework.data.domain.Sort sort)
public java.util.Optional<com.xforceplus.entity.Resource> findOne(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query)
public long count(com.xforceplus.route.api.common.model.ResourceModel.Request.Query query)