OSID Logo
OSID Specifications
inventory package
Version 3.1.0
Interfaceosid.inventory.ModelQueryInspector
Implementsosid.OsidObjectQueryInspector
Used Byosid.control.ControllerQueryInspector
osid.inventory.ModelSearchResults
osid.inventory.ModelSmartWarehouseSession
osid.inventory.StockQueryInspector
osid.inventory.WarehouseQueryInspector
osid.inventory.shipment.EntryQueryInspector
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.

Like all OsidQueryInspectors, ModelQueryInspector is stateful and must not be accessed by multiple processing threads.

MethodgetManufacturerIdTerms
Description

Gets the manufacturer Id query terms.

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

Gets the manufacturer query terms.

Returnosid.resource.ResourceQueryInspector[] the resource query terms
Compliancemandatory This method must be implemented.
MethodgetArchetypeTerms
Description

Gets the archetype query terms.

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

Gets the model number query terms.

Returnosid.search.terms.StringTerm[] the model number query 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.
MethodgetModelQueryInspectorRecord
Description

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

Parametersosid.type.TypemodelRecordType a model record type
Returnosid.inventory.records.ModelQueryInspectorRecord the model query inspector record
ErrorsNULL_ARGUMENT modelRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(modelRecordType) is false
Compliancemandatory This method must be implemented.