Package de.dlr.proseo.model.dao
Schnittstelle ProductQueryRepository
- Alle Superschnittstellen:
org.springframework.data.repository.CrudRepository<ProductQuery,
,Long> org.springframework.data.jpa.repository.JpaRepository<ProductQuery,
,Long> org.springframework.data.repository.PagingAndSortingRepository<ProductQuery,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ProductQuery>
,org.springframework.data.repository.Repository<ProductQuery,
Long>
@Repository
public interface ProductQueryRepository
extends org.springframework.data.jpa.repository.JpaRepository<ProductQuery,Long>
Data Access Object for the ProductQuery class
- Autor:
- Dr. Thomas Bassler
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindUnsatisfiedByProductClass
(long productClassId) Get all unsatisfied product queries for a given product classVon Schnittstelle geerbte Methoden org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
Von Schnittstelle geerbte Methoden org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
Von Schnittstelle geerbte Methoden org.springframework.data.repository.PagingAndSortingRepository
findAll
Von Schnittstelle geerbte Methoden org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Methodendetails
-
findUnsatisfiedByProductClass
@Query("select pq from ProductQuery pq where requested_product_class_id = ?1 and is_satisfied = false") List<ProductQuery> findUnsatisfiedByProductClass(long productClassId) Get all unsatisfied product queries for a given product class- Parameter:
productClassId
- the database id of the product class- Gibt zurück:
- a (possibly empty) list of unsatisfied product queries
-