Interface IssueConstrainerEnablerQuery

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

public interface IssueConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledIssueConstrainerId

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

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

      boolean supportsRuledIssueConstrainerQuery()
      Tests if an IssueConstrainerQuery is available.
      Returns:
      true if an issue constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledIssueConstrainerQuery

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

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

      void clearRuledIssueTerms()
      Clears the issue constrainer 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 issues 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.
    • getIssueConstrainerEnablerQueryRecord

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