Interface BusinessQueryInspector
- 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, BusinessQueryInspector
is stateful and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionIdTerm[]Gets the accountIdquery terms.Gets the account query terms.IdTerm[]Gets the activityIdquery terms.Gets the activity query terms.IdTerm[]Gets the ancestor businessIdquery terms.Gets the ancestor business query terms.getBusinessQueryInspectorRecord(Type businessRecordType) Gets the business query inspector record corresponding to the givenBusinessrecordType.IdTerm[]Gets the descendant businessIdquery terms.Gets the descendant business query terms.IdTerm[]Gets the fiscal periodIdquery terms.Gets the fiscal period query terms.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
-
getAccountIdTerms
IdTerm[] getAccountIdTerms()Gets the accountIdquery terms.- Returns:
- the account
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getAccountTerms
AccountQueryInspector[] getAccountTerms()Gets the account query terms.- Returns:
- the account query terms
- Compliance:
mandatory- This method must be implemented.
-
getActivityIdTerms
IdTerm[] getActivityIdTerms()Gets the activityIdquery terms.- Returns:
- the activity
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getActivityTerms
ActivityQueryInspector[] getActivityTerms()Gets the activity query terms.- Returns:
- the activity query terms
- Compliance:
mandatory- This method must be implemented.
-
getFiscalPeriodIdTerms
IdTerm[] getFiscalPeriodIdTerms()Gets the fiscal periodIdquery terms.- Returns:
- the fiscal period
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getFiscalPeriodTerms
FiscalPeriodQueryInspector[] getFiscalPeriodTerms()Gets the fiscal period query terms.- Returns:
- the fiscal period query terms
- Compliance:
mandatory- This method must be implemented.
-
getAncestorBusinessIdTerms
IdTerm[] getAncestorBusinessIdTerms()Gets the ancestor businessIdquery terms.- Returns:
- the ancestor business
Idterms - Compliance:
mandatory- This method must be implemented.
-
getAncestorBusinessTerms
BusinessQueryInspector[] getAncestorBusinessTerms()Gets the ancestor business query terms.- Returns:
- the ancestor business terms
- Compliance:
mandatory- This method must be implemented.
-
getDescendantBusinessIdTerms
IdTerm[] getDescendantBusinessIdTerms()Gets the descendant businessIdquery terms.- Returns:
- the descendant business
Idterms - Compliance:
mandatory- This method must be implemented.
-
getDescendantBusinessTerms
BusinessQueryInspector[] getDescendantBusinessTerms()Gets the descendant business query terms.- Returns:
- the descendant business terms
- Compliance:
mandatory- This method must be implemented.
-
getBusinessQueryInspectorRecord
BusinessQueryInspectorRecord getBusinessQueryInspectorRecord(Type businessRecordType) throws OperationFailedException Gets the business query inspector record corresponding to the givenBusinessrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
businessRecordType- a business record type- Returns:
- the business query inspector record
- Throws:
NullArgumentException-businessRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(businessRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-