Interface IssueProcessorEnablerQuery

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

public interface IssueProcessorEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledIssueProcessorId

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

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

      boolean supportsRuledIssueProcessorQuery()
      Tests if an IssueProcessorQuery is available.
      Returns:
      true if an issue processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledIssueProcessorQuery

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

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

      void clearRuledIssueTerms()
      Clears the issue processor 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.
    • getIssueProcessorEnablerQueryRecord

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