OSID Logo
OSID Specifications
inventory package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inventory.StockQueryInspector
Implementsosid.OsidObjectQueryInspector
osid.OsidFederateableQueryInspector
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
CompliancemandatoryThis method must be implemented.
MethodgetModelIdTerms
Description

Gets the model Id query terms.

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

Gets the model query terms.

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

Gets the location description query terms.

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

Gets the location Id query terms.

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

Gets the location query terms.

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

Gets the ancestor stock Id query terms.

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

Gets the ancestor stock query terms.

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

Gets the descendant stock Id query terms.

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

Gets the descendant stock query terms.

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

Gets the warehouse Id query terms.

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

Gets the warehouse query terms.

Returnosid.inventory.WarehouseQueryInspector[]the warehouse query terms
CompliancemandatoryThis 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.TypestockRecordTypea stock record type
Returnosid.inventory.records.StockQueryInspectorRecordthe stock query inspector record
ErrorsNULL_ARGUMENT stockRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(stockRecordType) is false
CompliancemandatoryThis method must be implemented.