OSID Logo
OSID Specifications
inventory shipment package
Version 3.1.0
Interfaceosid.inventory.shipment.ShipmentQuery
Implementsosid.OsidObjectQuery
osid.OsidAggregateableQuery
Used Byosid.inventory.shipment.ShipmentQuerySession
osid.inventory.shipment.ShipmentSearchSession
osid.inventory.shipment.ShipmentSmartWarehouseSession
Description

This is the query for searching shipments. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchSourceId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearSourceIdTerms
Description

Clears the resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSourceQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSourceQuery
Description

Gets the query for a source. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuery a resource query
ErrorsUNIMPLEMENTED supportsSourceQuery() is false
Complianceoptional This method must be implemented if supportsSourceQuery() is true.
MethodmatchAnySource
Description

Matches shipments with any source.

Parametersbooleanmatch true to match shipments with any source, false to match shipments with no source
Compliancemandatory This method must be implemented.
MethodclearSourceTerms
Description

Clears the source terms.

Compliancemandatory This method must be implemented.
MethodmatchOrderId
Description

Sets the order Id for this query.

Parametersosid.id.IdorderId an order Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT orderId is null
Compliancemandatory This method must be implemented.
MethodclearOrderIdTerms
Description

Clears the order Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsOrderQuery
Description

Tests if an OrderQuery is available.

Returnboolean true if an order query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetOrderQuery
Description

Gets the query for an order. Multiple retrievals produce a nested OR term.

Returnosid.ordering.OrderQuery an odrer query
ErrorsUNIMPLEMENTED supportsOrderQuery() is false
Complianceoptional This method must be implemented if supportsOrderQuery() is true.
MethodmatchAnyOrder
Description

Matches shipments with any related order.

Parametersbooleanmatch true to match shipments with any related order, false to match shipments with no order
Compliancemandatory This method must be implemented.
MethodclearOrderTerms
Description

Clears the order terms.

Compliancemandatory This method must be implemented.
MethodmatchDate
Description

Matches shipment dates within the given date range inclusive.

Parametersosid.calendaring.DateTimefrom start of range
osid.calendaring.DateTimeto end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyDate
Description

Matches shipments with any date.

Parametersbooleanmatch true to match shipments with any date, false to match shipments with no date
Compliancemandatory This method must be implemented.
MethodclearDateTerms
Description

Clears the shipment date.

Compliancemandatory This method must be implemented.
MethodmatchEntryId
Description

Sets the entry Id for this query.

Parametersosid.id.IdentryId an entry Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT entryId is null
Compliancemandatory This method must be implemented.
MethodclearEntryIdTerms
Description

Clears the entry Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsEntryQuery
Description

Tests if an EntryQuery is available.

Returnboolean true if an entry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetEntryQuery
Description

Gets the query for an entry. Multiple retrievals produce a nested OR term.

Returnosid.inventory.shipment.EntryQuery an entry query
ErrorsUNIMPLEMENTED supportsEntryQuery() is false
Complianceoptional This method must be implemented if supportsEntryQuery() is true.
MethodmatchAnyEntry
Description

Matches shipments that have any entry.

Parametersbooleanmatch true to match shipments with any entry, false to match shipments with no entries
Compliancemandatory This method must be implemented.
MethodclearEntryTerms
Description

Clears the entry terms.

Compliancemandatory This method must be implemented.
MethodmatchWarehouseId
Description

Sets the warehouse Id for this query to match shipments assigned to warehouses.

Parametersosid.id.IdwarehouseId the warehouse Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT warehouseId is null
Compliancemandatory This method must be implemented.
MethodclearWarehouseIdTerms
Description

Clears the warehouse Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsWarehouseQuery
Description

Tests if a WarehouseQuery is available.

Returnboolean true if a warehouse query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetWarehouseQuery
Description

Gets the query for a warehouse. Multiple retrievals produce a nested OR term.

Returnosid.inventory.WarehouseQuery the warehouse query
ErrorsUNIMPLEMENTED supportsWarehouseQuery() is false
Complianceoptional This method must be implemented if supportsWarehouseQuery() is true.
MethodclearWarehouseTerms
Description

Clears the warehouse terms.

Compliancemandatory This method must be implemented.
MethodgetShipmentQueryRecord
Description

Gets the shipment query record corresponding to the given Shipment record Type .Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeshipmentRecordType a shipment record type
Returnosid.inventory.shipment.records.ShipmentQueryRecord the shipment query record
ErrorsNULL_ARGUMENT shipmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(shipmentRecordType) is false
Compliancemandatory This method must be implemented.