Package org.openwms.wms.shipping.ui.impl
Class ShippingUIServiceImpl
java.lang.Object
org.openwms.wms.shipping.ui.impl.ShippingUIServiceImpl
- All Implemented Interfaces:
ShippingUIService
A ShippingUIServiceImpl.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.ameba.mapping.BeanMapper
private final ShippingOrderRepository
-
Constructor Summary
ConstructorDescriptionShippingUIServiceImpl
(ShippingOrderRepository repository, org.ameba.mapping.BeanMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionfindInStates
(List<OrderState> orderStates, boolean excludePositions) Find and return all ShippingOrders in the given states.
-
Field Details
-
repository
-
mapper
private final org.ameba.mapping.BeanMapper mapper
-
-
Constructor Details
-
ShippingUIServiceImpl
ShippingUIServiceImpl(ShippingOrderRepository repository, org.ameba.mapping.BeanMapper mapper)
-
-
Method Details
-
findInStates
@Measured @Transactional(readOnly=true) public List<ShippingOrderVO> findInStates(List<OrderState> orderStates, boolean excludePositions) Find and return all ShippingOrders in the given states.- Specified by:
findInStates
in interfaceShippingUIService
- Parameters:
orderStates
- The states to search forexcludePositions
- Whether to exclude the ShippingOrderPositions for each ShippingOrder in the return list or not.- Returns:
- A list or an empty list, never null
-