Interface AuthorizationServerRepository<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:
    JpaAuthorizationServerRepository<D>

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

      All Methods Instance Methods Abstract Methods 
      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)  
      Optional<D> findByName​(String name)  
      Optional<D> findByNameAndTenantId​(String name, String tenantId)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAll
      • Methods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware

        getDomainType
    • Method Detail

      • findByName

        @Policy(operationTypes=READ)
        Optional<D> findByName​(String name)
      • findByNameAndTenantId

        @Policy(operationTypes=READ)
        Optional<D> findByNameAndTenantId​(String name,
                                          String tenantId)
      • findAll

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

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