Package org.openwms.wms.transport.impl
Interface TransportUnitRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TransportUnit,
,Long> org.springframework.data.jpa.repository.JpaRepository<TransportUnit,
,Long> org.springframework.data.repository.ListCrudRepository<TransportUnit,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<TransportUnit,
,Long> org.springframework.data.repository.PagingAndSortingRepository<TransportUnit,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<TransportUnit>
,org.springframework.data.repository.Repository<TransportUnit,
Long>
interface TransportUnitRepository
extends org.springframework.data.jpa.repository.JpaRepository<TransportUnit,Long>
A TransportUnitRepository.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acknowledge
(String pKey) int
countByActualLocation
(Location location) findByActualLocation_ErpCode
(String erpCode) findByForeignPKey
(String foreignPKey) findBypKey
(String pKey) findByTransportUnitBK
(Barcode transportUnitBK) findByTransportUnitBKAndAcknowledged
(Barcode transportUnitBK, boolean acknowledged) findByTransportUnitBKIn
(List<Barcode> transportUnitBKs) 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
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findBypKey
-
findByForeignPKey
-
findByActualLocation_ErpCode
-
countByActualLocation
-
findByTransportUnitBK
-
findByTransportUnitBKAndAcknowledged
Optional<TransportUnit> findByTransportUnitBKAndAcknowledged(Barcode transportUnitBK, boolean acknowledged) -
findByTransportUnitBKIn
-
acknowledge
@Modifying @Query("update TransportUnit tu set tu.acknowledged = true where tu.pKey = :pKey") void acknowledge(@Param("pKey") String pKey)
-