OSID Logo
OSID Specifications
inventory package
Version 3.1.0
Interfaceosid.inventory.StockQueryInspector
Implementsosid.OsidObjectQueryInspector
osid.OsidFederateableQueryInspector
Used Byosid.checklist.mason.TodoProducerQueryInspector
osid.inventory.InventoryQueryInspector
osid.inventory.ItemQueryInspector
osid.inventory.StockQueryInspector
osid.inventory.StockSearchResults
osid.inventory.StockSmartWarehouseSession
osid.inventory.WarehouseQueryInspector
osid.inventory.shipment.EntryQueryInspector
osid.recipe.IngredientQueryInspector
Description

The query inspectors provide a means of accessing the match terms of a query. These interfaces are used to examine the actual query terms used in a search or that may be used to create a smart catalog. Query inspectors may be converted to OsidQuery interfaces for reuse or modification in the search sessions.

MethodgetSKUTerms
Description

Gets the SKU query terms.

Returnosid.search.terms.StringTerm[] the SKU query terms
Compliancemandatory This method must be implemented.
MethodgetModelIdTerms
Description

Gets the model Id query terms.

Returnosid.search.terms.IdTerm[] the model Id query terms
Compliancemandatory This method must be implemented.
MethodgetModelTerms
Description

Gets the model query terms.

Returnosid.inventory.ModelQueryInspector[] the model query terms
Compliancemandatory This method must be implemented.
MethodgetLocationDescriptionTerms
Description

Gets the location description query terms.

Returnosid.search.terms.StringTerm[] the location description query terms
Compliancemandatory This method must be implemented.
MethodgetLocationIdTerms
Description

Gets the location Id query terms.

Returnosid.search.terms.IdTerm[] the location Id query terms
Compliancemandatory This method must be implemented.
MethodgetLocationTerms
Description

Gets the location query terms.

Returnosid.mapping.LocationQueryInspector[] the location query terms
Compliancemandatory This method must be implemented.
MethodgetAncestorStockIdTerms
Description

Gets the ancestor stock Id query terms.

Returnosid.search.terms.IdTerm[] the ancestor stock Id terms
Compliancemandatory This method must be implemented.
MethodgetAncestorStockTerms
Description

Gets the ancestor stock query terms.

Returnosid.inventory.StockQueryInspector[] the ancestor stock terms
Compliancemandatory This method must be implemented.
MethodgetDescendantStockIdTerms
Description

Gets the descendant stock Id query terms.

Returnosid.search.terms.IdTerm[] the descendant stock Id terms
Compliancemandatory This method must be implemented.
MethodgetDescendantStockTerms
Description

Gets the descendant stock query terms.

Returnosid.inventory.StockQueryInspector[] the descendant stock terms
Compliancemandatory This method must be implemented.
MethodgetWarehouseIdTerms
Description

Gets the warehouse Id query terms.

Returnosid.search.terms.IdTerm[] the warehouse Id query terms
Compliancemandatory This method must be implemented.
MethodgetWarehouseTerms
Description

Gets the warehouse query terms.

Returnosid.inventory.WarehouseQueryInspector[] the warehouse query terms
Compliancemandatory This method must be implemented.
MethodgetStockQueryInspectorRecord
Description

Gets the stock query inspector record corresponding to the given Stock record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypestockRecordType a stock record type
Returnosid.inventory.records.StockQueryInspectorRecord the stock query inspector record
ErrorsNULL_ARGUMENT stockRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(stockRecordType) is false
Compliancemandatory This method must be implemented.