Interface ProductRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Product,​Long>, org.springframework.data.jpa.repository.JpaRepository<Product,​Long>, org.springframework.data.repository.PagingAndSortingRepository<Product,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Product>, org.springframework.data.repository.Repository<Product,​Long>

    public interface ProductRepository
    extends org.springframework.data.jpa.repository.JpaRepository<Product,​Long>
    A ProductRepository.
    Author:
    Heiko Scherrer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<Product> findBypKey​(String persistentKey)  
      Optional<Product> findBySku​(String sku)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne