Class AbstractMovementHandler
java.lang.Object
org.openwms.wms.movements.impl.handler.AbstractMovementHandler
- All Implemented Interfaces:
MovementHandler
,org.springframework.plugin.core.Plugin<MovementType>
- Direct Known Subclasses:
InboundMovementHandler
,ManualMovementHandler
,RelocationMovementHandler
,ReplenishmentMovementHandler
A AbstractMovementHandler.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.springframework.context.ApplicationEventPublisher
protected final MovementRepository
-
Constructor Summary
ConstructorDescriptionAbstractMovementHandler
(MovementRepository repository, org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptionCreate and return aMovement
.findInState
(MovementState state, List<String> sources, MovementType type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openwms.wms.movements.impl.MovementHandler
findInStateAndSource
Methods inherited from interface org.springframework.plugin.core.Plugin
supports
-
Field Details
-
repository
-
publisher
protected final org.springframework.context.ApplicationEventPublisher publisher
-
-
Constructor Details
-
AbstractMovementHandler
AbstractMovementHandler(MovementRepository repository, org.springframework.context.ApplicationEventPublisher publisher)
-
-
Method Details
-
create
Create and return aMovement
.- Specified by:
create
in interfaceMovementHandler
- Parameters:
movement
- The Movement to create- Returns:
- The created instance
-
findInState
-