Interface MovementHandler

All Superinterfaces:
org.springframework.plugin.core.Plugin<MovementType>
All Known Implementing Classes:
AbstractMovementHandler, InboundMovementHandler, ManualMovementHandler, RelocationMovementHandler, ReplenishmentMovementHandler

public interface MovementHandler extends org.springframework.plugin.core.Plugin<MovementType>
A MovementHandler does all the work according to the specific type of Movement.
Author:
Heiko Scherrer
  • Method Details

    • create

      Movement create(@NotNull @NotNull Movement movement)
      Create and return a Movement.
      Parameters:
      movement - The Movement to create
      Returns:
      The created instance
    • findInStateAndSource

      List<Movement> findInStateAndSource(@NotNull @NotNull MovementState state, @NotEmpty @NotEmpty List<String> sources)
      Find and return Movements.
      Parameters:
      state - The state to search Movements for
      sources - A list of sourceLocation or sourceLocationGroup names to search Movements for
      Returns:
      A list of instances, never null