Interface ApiKeyRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable>

Type Parameters:
D - the persisted domain counterpart to ApiKey
All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,String>, com.broadleafcommerce.common.extension.DomainTypeAware, com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor<D>, com.broadleafcommerce.common.extension.data.PagingAndSortingRepository<D,String>, org.springframework.data.repository.Repository<D,String>
All Known Subinterfaces:
JpaApiKeyRepository<D>

@NoRepositoryBean public interface ApiKeyRepository<D extends com.broadleafcommerce.data.tracking.core.Identifiable> extends com.broadleafcommerce.common.extension.data.PagingAndSortingRepository<D,String>, com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor<D>
Repository to find and manage instances of ApiKey Authentication Service 3.0.0, Release Train 3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Page<D>
    findByAuthorizedClientId(String authorizedClientId, org.springframework.data.domain.Pageable pageable, cz.jirutka.rsql.parser.ast.Node filters)
     
     
    findByIdAndAuthorizedClientId(String id, String authorizedClientId)
     

    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

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.MappableRsqlFilterExecutor

    exists, findAll, findAll, findAll, findAll

    Methods inherited from interface com.broadleafcommerce.common.extension.data.PagingAndSortingRepository

    findAll, findAll
  • Method Details

    • findByHashedKey

      @Policy(operationTypes=READ) Optional<D> findByHashedKey(String hashedKey)
    • findByIdAndAuthorizedClientId

      @Policy(operationTypes=READ) Optional<D> findByIdAndAuthorizedClientId(String id, String authorizedClientId)
    • findByAuthorizedClientId

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findByAuthorizedClientId(String authorizedClientId, org.springframework.data.domain.Pageable pageable, cz.jirutka.rsql.parser.ast.Node filters)