Package org.openwms.wms.inventory.impl
Interface ReservationRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Reservation,,Long> org.springframework.data.jpa.repository.JpaRepository<Reservation,,Long> org.springframework.data.repository.ListCrudRepository<Reservation,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Reservation,,Long> org.springframework.data.repository.PagingAndSortingRepository<Reservation,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Reservation>,org.springframework.data.repository.Repository<Reservation,Long>
interface ReservationRepository
extends org.springframework.data.jpa.repository.JpaRepository<Reservation,Long>
A ReservationRepository.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByPk(Long pk) voiddeleteFor(List<PackagingUnit> pus) findByReservedBy(String reservationId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByReservedBy
-
deleteFor
@Modifying @Query("delete from Reservation r where r.packagingUnit in :pus") void deleteFor(@Param("pus") List<PackagingUnit> pus) -
deleteByPk
@Modifying @Query("delete from Reservation r where r.pk = :pk") void deleteByPk(@Param("pk") Long pk)
-