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 Details

    • getFiscalPeriodIdTerms

      IdTerm[] getFiscalPeriodIdTerms()
      Gets the fiscal period Id query terms.
      Returns:
      the fiscal period Id query 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 entry Id query terms.
      Returns:
      the post entry Id query 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 post Id query terms.
      Returns:
      the post Id query 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 business Id query terms.
      Returns:
      the business Id query 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 given Post record Type. Multiple record retrievals produce a nested OR term.
      Parameters:
      postRecordType - a post record type
      Returns:
      the post query inspector record
      Throws:
      NullArgumentException - postRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(postRecordType) is false
      Compliance:
      mandatory - This method must be implemented.