Package org.openwms.tms.impl
Interface TransportOrderRepository<T extends TransportOrder,ID extends Long>
- All Known Subinterfaces:
TransportOrderJpaRepository
public interface TransportOrderRepository<T extends TransportOrder,ID extends Long>
A TransportOrderRepository is an extension of Spring Data's
JpaRepository
that provides additional queries regarding
TransportOrder
entities.- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionfindBypKey
(String pKey) findBypKeys
(List<String> pKeys) findByTargetLocation
(String targetLocation) findByTransportUnitBKAndStates
(String transportUnitBK, TransportOrderState... states) int
numberOfTransportOrders
(String transportUnitBK, TransportOrderState state) <S extends T>
SsaveAndFlush
(S entity)
-
Method Details
-
save
-
saveAndFlush
-
findById
-
findBypKey
-
findBypKeys
-
findByTargetLocation
-
findByTransportUnitBKAndStates
List<TransportOrder> findByTransportUnitBKAndStates(String transportUnitBK, TransportOrderState... states) -
numberOfTransportOrders
int numberOfTransportOrders(@Param("transportUnitBK") String transportUnitBK, @Param("state") TransportOrderState state)
-