Interface QueueConstrainerEnablerQuery

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

public interface QueueConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledQueueConstrainerId

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

      void clearRuledQueueConstrainerIdTerms()
      Clears the queue constrainer Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledQueueConstrainerQuery

      boolean supportsRuledQueueConstrainerQuery()
      Tests if a QueueConstrainerQuery is available.
      Returns:
      true if a queue constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledQueueConstrainerQuery

      QueueConstrainerQuery getRuledQueueConstrainerQuery()
      Gets the query for a queue constrainer. Multiple retrievals produce a nested OR term.
      Returns:
      the queue constrainer query
      Throws:
      UnimplementedException - supportsRuledQueueConstrainerQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledQueueConstrainerQuery()} is {@code true} .
    • matchAnyRuledQueueConstrainer

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

      void clearRuledQueueConstrainerTerms()
      Clears the queue constrainer query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchFrontOfficeId

      void matchFrontOfficeId(Id frontOfficeId, boolean match)
      Matches enablers mapped to the front office.
      Parameters:
      frontOfficeId - the front office Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - frontOfficeId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearFrontOfficeIdTerms

      void clearFrontOfficeIdTerms()
      Clears the front office Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsFrontOfficeQuery

      boolean supportsFrontOfficeQuery()
      Tests if a FrontOfficeQuery is available.
      Returns:
      true if a front office query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getFrontOfficeQuery

      FrontOfficeQuery getFrontOfficeQuery()
      Gets the query for a front office. Multiple retrievals produce a nested OR term.
      Returns:
      the front office query
      Throws:
      UnimplementedException - supportsFrontOfficeQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsFrontOfficeQuery()} is {@code true} .
    • clearFrontOfficeTerms

      void clearFrontOfficeTerms()
      Clears the front office query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getQueueConstrainerEnablerQueryRecord

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