Interface ShipmentSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface ShipmentSearch extends OsidSearch

The search interface for governing shipment searches.

  • Method Details

    • searchAmongShipments

      void searchAmongShipments(IdList shipmentIds)
      Execute this search among the given list of shipments.
      Parameters:
      shipmentIds - list of shipments
      Throws:
      NullArgumentException - shipmentIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderShipmentResults

      void orderShipmentResults(ShipmentSearchOrder shipmentSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      shipmentSearchOrder - shipment search order
      Throws:
      NullArgumentException - shipmentSearchOrder is null
      UnsupportedException - shipmentSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getShipmentSearchRecord

      ShipmentSearchRecord getShipmentSearchRecord(Type shipmentSearchRecordType) throws OperationFailedException
      Gets the shipment search record corresponding to the given shipment search record Type. This method is used to retrieve an object implementing the requested record.
      Parameters:
      shipmentSearchRecordType - a shipment search record type
      Returns:
      the shipment search record
      Throws:
      NullArgumentException - shipmentSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(shipmentSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.