Interface AuditProcessorEnablerQuery

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

public interface AuditProcessorEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledAuditProcessorId

      void matchRuledAuditProcessorId(Id auditProcessorId, boolean match)
      Matches enablers mapped to the audit processor.
      Parameters:
      auditProcessorId - the audit processor Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - auditProcessorId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledAuditProcessorIdTerms

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

      boolean supportsRuledAuditProcessorQuery()
      Tests if an AuditProcessorQuery is available.
      Returns:
      true if an audit processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledAuditProcessorQuery

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

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

      void clearRuledAuditProcessorTerms()
      Clears the audit processor 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.
    • getAuditProcessorEnablerQueryRecord

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