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
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.context.ApplicationEventPublisherprotected final MovementRepository -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMovementHandler(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, waitMethods inherited from interface org.openwms.wms.movements.impl.MovementHandler
findInStateAndSourceMethods 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:
createin interfaceMovementHandler- Parameters:
movement- The Movement to create- Returns:
- The created instance
-
findInState
-