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

    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)
     
     
     

    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

    • 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)