Interface StockQueryInspector
- All Superinterfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidFederateableQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector
public interface StockQueryInspector
extends OsidObjectQueryInspector, OsidFederateableQueryInspector
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 TypeMethodDescriptionIdTerm[]Gets the ancestor stockIdquery terms.Gets the ancestor stock query terms.IdTerm[]Gets the descendant stockIdquery terms.Gets the descendant stock query terms.Gets the location description query terms.IdTerm[]Gets the locationIdquery terms.Gets the location query terms.IdTerm[]Gets the modelIdquery terms.Gets the model query terms.Gets the SKU query terms.getStockQueryInspectorRecord(Type stockRecordType) Gets the stock query inspector record corresponding to the givenStockrecordType.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
-
getSKUTerms
StringTerm[] getSKUTerms()Gets the SKU query terms.- Returns:
- the SKU 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.
-
getLocationDescriptionTerms
StringTerm[] getLocationDescriptionTerms()Gets the location description query terms.- Returns:
- the location description query terms
- Compliance:
mandatory- This method must be implemented.
-
getLocationIdTerms
IdTerm[] getLocationIdTerms()Gets the locationIdquery terms.- Returns:
- the location
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getLocationTerms
LocationQueryInspector[] getLocationTerms()Gets the location query terms.- Returns:
- the location query terms
- Compliance:
mandatory- This method must be implemented.
-
getAncestorStockIdTerms
IdTerm[] getAncestorStockIdTerms()Gets the ancestor stockIdquery terms.- Returns:
- the ancestor stock
Idterms - Compliance:
mandatory- This method must be implemented.
-
getAncestorStockTerms
StockQueryInspector[] getAncestorStockTerms()Gets the ancestor stock query terms.- Returns:
- the ancestor stock terms
- Compliance:
mandatory- This method must be implemented.
-
getDescendantStockIdTerms
IdTerm[] getDescendantStockIdTerms()Gets the descendant stockIdquery terms.- Returns:
- the descendant stock
Idterms - Compliance:
mandatory- This method must be implemented.
-
getDescendantStockTerms
StockQueryInspector[] getDescendantStockTerms()Gets the descendant stock query terms.- Returns:
- the descendant stock 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.
-
getStockQueryInspectorRecord
StockQueryInspectorRecord getStockQueryInspectorRecord(Type stockRecordType) throws OperationFailedException Gets the stock query inspector record corresponding to the givenStockrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
stockRecordType- a stock record type- Returns:
- the stock query inspector record
- Throws:
NullArgumentException-stockRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(stockRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-