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 TypeMethodDescriptionvoid
deleteByPk
(Long pk) void
deleteFor
(List<PackagingUnit> pus) findByReservedBy
(String reservationId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
-
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)
-