Interface ShipmentSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing shipment searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetShipmentSearchRecord(Type shipmentSearchRecordType) Gets the shipment search record corresponding to the given shipment search recordType.voidorderShipmentResults(ShipmentSearchOrder shipmentSearchOrder) Specify an ordering to the search results.voidsearchAmongShipments(IdList shipmentIds) Execute this search among the given list of shipments.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongShipments
Execute this search among the given list of shipments.- Parameters:
shipmentIds- list of shipments- Throws:
NullArgumentException-shipmentIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderShipmentResults
Specify an ordering to the search results.- Parameters:
shipmentSearchOrder- shipment search order- Throws:
NullArgumentException-shipmentSearchOrderisnullUnsupportedException-shipmentSearchOrderis 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 recordType. 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-shipmentSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(shipmentSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-