Interface AuditProcessorQuery

All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidProcessorQuery, OsidQuery, OsidRuleQuery, Suppliable

public interface AuditProcessorQuery extends OsidProcessorQuery

This is the query for searching audit processors. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR .

  • Method Details

    • matchRuledAuditId

      void matchRuledAuditId(Id auditId, boolean match)
      Matches processors mapped to the audit.
      Parameters:
      auditId - the audit Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - auditId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledAuditIdTerms

      void clearRuledAuditIdTerms()
      Clears the audit Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledAuditQuery

      boolean supportsRuledAuditQuery()
      Tests if an AuditQuery is available.
      Returns:
      true if an audit query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledAuditQuery

      AuditQuery getRuledAuditQuery()
      Gets the query for an audit. Multiple retrievals produce a nested OR term.
      Returns:
      the audit query
      Throws:
      UnimplementedException - supportsRuledAuditQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledAuditQuery()} is {@code true} .
    • matchAnyRuledAudit

      void matchAnyRuledAudit(boolean match)
      Matches enablers mapped to any audit.
      Parameters:
      match - true for enablers mapped to any audit, false to match enablers mapped to no audits
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledAuditTerms

      void clearRuledAuditTerms()
      Clears the audit query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchInquestId

      void matchInquestId(Id inquestId, boolean match)
      Sets the inquest Id for this query to match audits assigned to inquests.
      Parameters:
      inquestId - the inquest Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - inquestId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearInquestIdTerms

      void clearInquestIdTerms()
      Clears the inquest Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsInquestQuery

      boolean supportsInquestQuery()
      Tests if an InquestQuery is available.
      Returns:
      true if an inquest query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getInquestQuery

      InquestQuery getInquestQuery()
      Gets the query for an inquest. Multiple retrievals produce a nested OR term.
      Returns:
      the inquest query
      Throws:
      UnimplementedException - supportsInquestQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsInquestQuery()} is {@code true} .
    • clearInquestTerms

      void clearInquestTerms()
      Clears the inquest query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getAuditProcessorQueryRecord

      AuditProcessorQueryRecord getAuditProcessorQueryRecord(Type auditProcessorRecordType) throws OperationFailedException
      Gets the audit processor query record corresponding to the given AuditProcessor record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      auditProcessorRecordType - an audit processor record type
      Returns:
      the audit processor query record
      Throws:
      NullArgumentException - auditProcessorRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(auditProcessorRecordType) is false
      Compliance:
      mandatory - This method must be implemented.