Interface InventoryQueryInspector
- All Superinterfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidSubjugateableQueryInspector
public interface InventoryQueryInspector
extends OsidObjectQueryInspector, OsidSubjugateableQueryInspector
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.
-
Method Summary
Modifier and TypeMethodDescriptionGets the date query terms.Gets the date query terms.getInventoryQueryInspectorRecord(Type inventoryRecordType) Gets the inventory query inspector record corresponding to the givenInventoryrecordType.Gets the quantity terms.IdTerm[]Gets the stockIdquery terms.Gets the stock query terms.IdTerm[]Gets the warehouseIdquery terms.Gets the warehouse query terms.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods 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, getSubjectTermsModifier and TypeMethodDescriptionIdTerm[]Gets the commentIdquery terms.Gets the comment query terms.IdTerm[]Gets the creditIdquery terms.Gets the credit query terms.Gets the description query terms.Gets the display name query terms.TypeTerm[]Gets the genus type query terms.IdTerm[]Gets the journal entryIdquery terms.Gets the journal entry query terms.TypeTerm[]Gets the parent genus type query terms.IdTerm[]Gets the relationshipIdquery terms.IdTerm[]Gets the relationship peerIdquery terms.Gets the relationship query terms.IdTerm[]Gets the stateIdquery terms.Gets the state query terms.Gets the statistic query terms.IdTerm[]Gets the subjectIdquery terms.Gets the subject relevancy query terms.Gets the subject query terms.Methods inherited from interface OsidQueryInspector
getAnyTerms, getKeywordTermsModifier and TypeMethodDescriptionGets the any query terms.Gets the keyword query terms.
-
Method Details
-
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.
-
getDateTerms
DateTimeTerm[] getDateTerms()Gets the date query terms.- Returns:
- the date query terms
- Compliance:
mandatory- This method must be implemented.
-
getDateInclusiveTerms
DateTimeRangeTerm[] getDateInclusiveTerms()Gets the date query terms.- Returns:
- the date range query terms
- Compliance:
mandatory- This method must be implemented.
-
getQuantityTerms
DecimalRangeTerm[] getQuantityTerms()Gets the quantity terms.- Returns:
- the quantity query terms
- Compliance:
mandatory- This method must be implemented.
-
getWarehouseIdTerms
IdTerm[] getWarehouseIdTerms()Gets the warehouseIdquery terms.- Returns:
- the warehouse
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getWarehouseTerms
WarehouseQueryInspector[] getWarehouseTerms()Gets the warehouse query terms.- Returns:
- the warehouse query terms
- Compliance:
mandatory- This method must be implemented.
-
getInventoryQueryInspectorRecord
InventoryQueryInspectorRecord getInventoryQueryInspectorRecord(Type inventoryRecordType) throws OperationFailedException Gets the inventory query inspector record corresponding to the givenInventoryrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
inventoryRecordType- an inventory record type- Returns:
- the inventory query inspector record
- Throws:
NullArgumentException-inventoryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(inventoryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-