Interface IssueEnablerQuery

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

public interface IssueEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledIssueId

      void matchRuledIssueId(Id issueId, boolean match)
      Matches enablers mapped to the issue.
      Parameters:
      issueId - the issue Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - issueId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledIssueIdTerms

      void clearRuledIssueIdTerms()
      Clears the issue Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledIssueQuery

      boolean supportsRuledIssueQuery()
      Tests if an IssueQuery is available.
      Returns:
      true if an issue query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledIssueQuery

      IssueQuery getRuledIssueQuery()
      Gets the query for an issue. Multiple retrievals produce a nested OR term.
      Returns:
      the issue query
      Throws:
      UnimplementedException - supportsRuledIssueQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledIssueQuery()} is {@code true} .
    • matchAnyRuledIssue

      void matchAnyRuledIssue(boolean match)
      Matches enablers mapped to any issue.
      Parameters:
      match - true for enablers mapped to any issue, false to match enablers mapped to no issue
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledIssueTerms

      void clearRuledIssueTerms()
      Clears the issue query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchOublietteId

      void matchOublietteId(Id oublietteId, boolean match)
      Sets the oubliette Id for this query to match issue enablers assigned to oubliettes.
      Parameters:
      oublietteId - the oubliette Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - oublietteId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearOublietteIdTerms

      void clearOublietteIdTerms()
      Clears the oubliette Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsOublietteQuery

      boolean supportsOublietteQuery()
      Tests if an OublietteQuery is available.
      Returns:
      true if an oubliette query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getOublietteQuery

      OublietteQuery getOublietteQuery()
      Gets the query for an oubliette. Multiple retrievals produce a nested OR term.
      Returns:
      the oubliette query
      Throws:
      UnimplementedException - supportsOublietteQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsOublietteQuery()} is {@code true} .
    • clearOublietteTerms

      void clearOublietteTerms()
      Clears the oubliette query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getIssueEnablerQueryRecord

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