Interface WarehouseQueryInspector
- All Superinterfaces:
Extensible, OsidBrowsableQueryInspector, OsidCatalogQueryInspector, OsidExtensibleQueryInspector, OsidFederateableQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidSourceableQueryInspector
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, WarehouseQueryInspector
is stateful and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionIdTerm[]Gets the ancestor warehouseIdquery terms.Gets the ancestor warehouse query terms.IdTerm[]Gets the descendant warehouseIdquery terms.Gets the descendant warehouse query terms.IdTerm[]Gets the inventoryIdquery terms.Gets the inventory query terms.IdTerm[]Gets the itemIdquery terms.Gets the item query terms.IdTerm[]Gets the modelIdquery terms.Gets the model query terms.IdTerm[]Gets the stockIdquery terms.Gets the stock query terms.getWarehouseQueryInspectorRecord(Type warehouseRecordType) Gets the warehouse query inspector record corresponding to the givenWarehouserecordType.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface OsidExtensibleQueryInspector
getRecordTypeTermsMethods inherited from interface OsidIdentifiableQueryInspector
getIdTermsMethods inherited from interface OsidObjectQueryInspector
getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTermsMethods inherited from interface OsidQueryInspector
getAnyTerms, getKeywordTermsMethods inherited from interface OsidSourceableQueryInspector
getBrandingIdTerms, getBrandingTerms, getLicenseTerms, getProviderIdTerms, getProviderTerms
-
Method Details
-
getItemIdTerms
IdTerm[] getItemIdTerms()Gets the itemIdquery terms.- Returns:
- the item
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getItemTerms
ItemQueryInspector[] getItemTerms()Gets the item query terms.- Returns:
- the item query terms
- Compliance:
mandatory- This method must be implemented.
-
getStockIdTerms
IdTerm[] getStockIdTerms()Gets the stockIdquery terms.- Returns:
- the stock
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getStockTerms
StockQueryInspector[] getStockTerms()Gets the stock query terms.- Returns:
- the stock query terms
- Compliance:
mandatory- This method must be implemented.
-
getModelIdTerms
IdTerm[] getModelIdTerms()Gets the modelIdquery terms.- Returns:
- the model
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getModelTerms
ModelQueryInspector[] getModelTerms()Gets the model query terms.- Returns:
- the model query terms
- Compliance:
mandatory- This method must be implemented.
-
getInventoryIdTerms
IdTerm[] getInventoryIdTerms()Gets the inventoryIdquery terms.- Returns:
- the inventory
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getInventoryTerms
InventoryQueryInspector[] getInventoryTerms()Gets the inventory query terms.- Returns:
- the inventory query terms
- Compliance:
mandatory- This method must be implemented.
-
getAncestorWarehouseIdTerms
IdTerm[] getAncestorWarehouseIdTerms()Gets the ancestor warehouseIdquery terms.- Returns:
- the ancestor warehouse
Idterms - Compliance:
mandatory- This method must be implemented.
-
getAncestorWarehouseTerms
WarehouseQueryInspector[] getAncestorWarehouseTerms()Gets the ancestor warehouse query terms.- Returns:
- the ancestor warehouse terms
- Compliance:
mandatory- This method must be implemented.
-
getDescendantWarehouseIdTerms
IdTerm[] getDescendantWarehouseIdTerms()Gets the descendant warehouseIdquery terms.- Returns:
- the descendant warehouse
Idterms - Compliance:
mandatory- This method must be implemented.
-
getDescendantWarehouseTerms
WarehouseQueryInspector[] getDescendantWarehouseTerms()Gets the descendant warehouse query terms.- Returns:
- the descendant warehouse terms
- Compliance:
mandatory- This method must be implemented.
-
getWarehouseQueryInspectorRecord
WarehouseQueryInspectorRecord getWarehouseQueryInspectorRecord(Type warehouseRecordType) throws OperationFailedException Gets the warehouse query inspector record corresponding to the givenWarehouserecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
warehouseRecordType- a warehouse record type- Returns:
- the warehouse query inspector record
- Throws:
NullArgumentException-warehouseRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(warehouseRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-