Interface AuditConstrainerEnablerQuery

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

public interface AuditConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledAuditConstrainerId

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

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

      boolean supportsRuledAuditConstrainerQuery()
      Tests if an AuditConstrainerQuery is available.
      Returns:
      true if an audit constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledAuditConstrainerQuery

      AuditConstrainerQuery getRuledAuditConstrainerQuery()
      Gets the query for an audit constrainer. Multiple retrievals produce a nested OR term.
      Returns:
      the audit constrainer query
      Throws:
      UnimplementedException - supportsRuledAuditConstraienrQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledAuditConstrainerQuery()} is {@code true} .
    • matchAnyRuledAuditConstrainer

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

      void clearRuledAuditConstrainerTerms()
      Clears the audit constrainer 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.
    • getAuditConstrainerEnablerQueryRecord

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