Interface PutawayService

  • All Known Implementing Classes:
    PutawayServiceImpl

    public interface PutawayService
    A PutawayService.
    Author:
    Heiko Scherrer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int availableLocationsIn​(List<String> locationGroupNames)
      Get the number of all available Locations in the LocationGroups.
      Optional<org.openwms.common.location.Location> findAndAssignNextLocations​(List<String> stockLocationGroupNames, org.openwms.common.transport.barcode.Barcode barcode, org.openwms.common.location.api.LocationGroupState groupStateIn, org.openwms.common.location.api.LocationGroupState groupStateOut)
      Find assign and return an Location that belong to the LocationGroups identified by the given stockLocationGroupNames and that matches the applied filter criteria.
      List<org.openwms.common.location.Location> findAvailableStockLocations​(List<String> stockLocationGroupNames, org.openwms.common.transport.barcode.Barcode barcode, org.openwms.common.location.api.LocationGroupState groupStateIn, org.openwms.common.location.api.LocationGroupState groupStateOut, int count)
      Find and return all Locations that belong to the LocationGroups identified by the given stockLocationGroupNames and that match the applied filter criteria.
    • Method Detail

      • findAvailableStockLocations

        List<org.openwms.common.location.Location> findAvailableStockLocations​(List<String> stockLocationGroupNames,
                                                                               org.openwms.common.transport.barcode.Barcode barcode,
                                                                               org.openwms.common.location.api.LocationGroupState groupStateIn,
                                                                               org.openwms.common.location.api.LocationGroupState groupStateOut,
                                                                               int count)
        Find and return all Locations that belong to the LocationGroups identified by the given stockLocationGroupNames and that match the applied filter criteria.
        Parameters:
        stockLocationGroupNames - The names of the LocationGroups to search Locations for
        barcode - The Barcode of the TransportUnit to search a Location for
        groupStateIn - If null this criterion is not applied, otherwise only Locations are considered that match the demanded groupStateIn
        groupStateOut - If null this criterion is not applied, otherwise only Locations are considered that match the demanded groupStateOut
        count - A number of Locations to return. Useful to limit the result set
        Returns:
        All Locations, never null
      • findAndAssignNextLocations

        Optional<org.openwms.common.location.Location> findAndAssignNextLocations​(List<String> stockLocationGroupNames,
                                                                                  org.openwms.common.transport.barcode.Barcode barcode,
                                                                                  org.openwms.common.location.api.LocationGroupState groupStateIn,
                                                                                  org.openwms.common.location.api.LocationGroupState groupStateOut)
        Find assign and return an Location that belong to the LocationGroups identified by the given stockLocationGroupNames and that matches the applied filter criteria.
        Parameters:
        stockLocationGroupNames - The names of the LocationGroups to search Locations for
        barcode - The Barcode of the TransportUnit to search a Location for
        groupStateIn - If null this criterion is not applied, otherwise only Locations are considered that match the demanded groupStateIn
        groupStateOut - If null this criterion is not applied, otherwise only Locations are considered that match the demanded groupStateOut
        Returns:
        The assigned Location
      • availableLocationsIn

        int availableLocationsIn​(List<String> locationGroupNames)
        Get the number of all available Locations in the LocationGroups.
        Parameters:
        locationGroupNames - The names of the LocationGroups to search for
        Returns:
        The amount of Locations available for infeed and outfeed.