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.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 TypeMethodDescriptionvoidacknowledge(String pKey) intcountByActualLocation(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, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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
- 
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)  
 -