Interface PostQueryInspector
- All Superinterfaces:
Extensible, OsidAggregateableQueryInspector, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector
public interface PostQueryInspector
extends OsidObjectQueryInspector, OsidAggregateableQueryInspector
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, PostQueryInspector is
stateful and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionIdTerm[]Gets the businessIdquery terms.Gets the business query terms.IdTerm[]Gets the corrected postIdquery terms.Gets the corrected post query terms.Gets the date query terms.IdTerm[]Gets the fiscal periodIdquery terms.Gets the fiscal period query terms.Gets the posted query terms.IdTerm[]Gets the post entryIdquery terms.Gets the post entry query terms.getPostQueryInspectorRecord(Type postRecordType) Gets the post query inspector record corresponding to the givenPostrecordType.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, getKeywordTerms
-
Method Details
-
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.
-
getPostedTerms
BooleanTerm[] getPostedTerms()Gets the posted query terms.- Returns:
- the posted query terms
- Compliance:
mandatory- This method must be implemented.
-
getDateTerms
DateTimeRangeTerm[] getDateTerms()Gets the date query terms.- Returns:
- the date query terms
- Compliance:
mandatory- This method must be implemented.
-
getPostEntryIdTerms
IdTerm[] getPostEntryIdTerms()Gets the post entryIdquery terms.- Returns:
- the post entry
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getPostEntryTerms
PostEntryQueryInspector[] getPostEntryTerms()Gets the post entry query terms.- Returns:
- the post entry query terms
- Compliance:
mandatory- This method must be implemented.
-
getCorrectedPostIdTerms
IdTerm[] getCorrectedPostIdTerms()Gets the corrected postIdquery terms.- Returns:
- the post
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getCorrectedPostTerms
PostQueryInspector[] getCorrectedPostTerms()Gets the corrected post query terms.- Returns:
- the post query terms
- Compliance:
mandatory- This method must be implemented.
-
getBusinessIdTerms
IdTerm[] getBusinessIdTerms()Gets the businessIdquery terms.- Returns:
- the business
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getBusinessTerms
BusinessQueryInspector[] getBusinessTerms()Gets the business query terms.- Returns:
- the business query terms
- Compliance:
mandatory- This method must be implemented.
-
getPostQueryInspectorRecord
PostQueryInspectorRecord getPostQueryInspectorRecord(Type postRecordType) throws OperationFailedException Gets the post query inspector record corresponding to the givenPostrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
postRecordType- a post record type- Returns:
- the post query inspector record
- Throws:
NullArgumentException-postRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(postRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-