Interface BoughtProductsRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<BoughtProducts,​java.lang.Integer>, org.springframework.data.jpa.repository.JpaRepository<BoughtProducts,​java.lang.Integer>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<BoughtProducts>, org.springframework.data.repository.PagingAndSortingRepository<BoughtProducts,​java.lang.Integer>, org.springframework.data.repository.query.QueryByExampleExecutor<BoughtProducts>, org.springframework.data.repository.Repository<BoughtProducts,​java.lang.Integer>

public interface BoughtProductsRepository
extends org.springframework.data.jpa.repository.JpaRepository<BoughtProducts,​java.lang.Integer>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<BoughtProducts>
Bought products repository for making query to boughtproducts table
Author:
Jakub Perdek
  • Method Summary

    Modifier and Type Method Description
    java.util.List<BoughtProducts> findAll()
    Gets all bought products

    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, findAllById, flush, getOne, saveAll, saveAndFlush

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, findAll, findAll, findAll, findOne

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

    findAll

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

    count, exists, findAll, findOne
  • Method Details

    • findAll

      java.util.List<BoughtProducts> findAll()
      Gets all bought products
      Specified by:
      findAll in interface org.springframework.data.repository.CrudRepository<BoughtProducts,​java.lang.Integer>
      Specified by:
      findAll in interface org.springframework.data.jpa.repository.JpaRepository<BoughtProducts,​java.lang.Integer>
      Returns:
      all bought products from database