类 HerodotusAuthorizationConsentService
java.lang.Object
cn.herodotus.engine.data.core.service.BaseService<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
cn.herodotus.engine.oauth2.data.jpa.service.HerodotusAuthorizationConsentService
- 所有已实现的接口:
cn.herodotus.engine.data.core.service.ReadableService<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> cn.herodotus.engine.data.core.service.WriteableService<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
@Service
public class HerodotusAuthorizationConsentService
extends cn.herodotus.engine.data.core.service.BaseService<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
Description: HerodotusAuthorizationConsentService
这里命名没有按照统一的习惯,主要是为了防止与 spring-authorization-server 已有类的同名而导致Bean注入失败
- 作者:
- : gengwei.zheng
- Date:
- : 2022/2/25 21:02
-
构造器概要
构造器构造器说明HerodotusAuthorizationConsentService(HerodotusAuthorizationConsentRepository authorizationConsentRepository) -
方法概要
修饰符和类型方法说明voiddeleteByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId> 从类继承的方法 cn.herodotus.engine.data.core.service.BaseService
like从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.herodotus.engine.data.core.service.ReadableService
count, count, existsById, findAll, findAll, findAll, findAll, findById, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage从接口继承的方法 cn.herodotus.engine.data.core.service.WriteableService
delete, deleteAll, deleteAll, deleteAllInBatch, deleteById, flush, save, saveAll, saveAllAndFlush, saveAndFlush
-
构造器详细资料
-
HerodotusAuthorizationConsentService
@Autowired public HerodotusAuthorizationConsentService(HerodotusAuthorizationConsentRepository authorizationConsentRepository)
-
-
方法详细资料
-
getRepository
public cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId> getRepository() -
findByRegisteredClientIdAndPrincipalName
public Optional<HerodotusAuthorizationConsent> findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) -
deleteByRegisteredClientIdAndPrincipalName
-