Interface OAuthClientRegistrationRepository<D>

All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,String>, com.broadleafcommerce.common.extension.DomainTypeAware, org.springframework.data.repository.Repository<D,String>
All Known Subinterfaces:
JpaOAuthClientRegistrationRepository<D>

@NoRepositoryBean public interface OAuthClientRegistrationRepository<D> extends org.springframework.data.repository.CrudRepository<D,String>, com.broadleafcommerce.common.extension.DomainTypeAware
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Page<D>
    findAll(org.springframework.data.domain.Pageable page)
     
    org.springframework.data.domain.Page<D>
    findAllByTenantId(String tenantId, org.springframework.data.domain.Pageable pageable)
     
     
    findByRegistrationIdAndTenantId(String registrationId, String tenantId)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll

    Methods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware

    getDomainType
  • Method Details

    • findByRegistrationIdAndTenantId

      @Policy(operationTypes=READ) Optional<D> findByRegistrationIdAndTenantId(String registrationId, String tenantId)
    • findByIdAndTenantId

      @Policy(operationTypes=READ) Optional<D> findByIdAndTenantId(String id, String tenantId)
    • findAllByTenantId

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByTenantId(String tenantId, @Nullable org.springframework.data.domain.Pageable pageable)
    • findAll

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAll(@Nullable org.springframework.data.domain.Pageable page)