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 an 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.
    • matchDistributorId

      void matchDistributorId(Id distributorId, boolean match)
      Sets the distributor Id for this query to match queues assigned to distributors.
      Parameters:
      distributorId - the distributor Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - distributorId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearDistributorIdTerms

      void clearDistributorIdTerms()
      Clears the distributor Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsDistributorQuery

      boolean supportsDistributorQuery()
      Tests if a DistributorQuery is available.
      Returns:
      true if a distributor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getDistributorQuery

      DistributorQuery getDistributorQuery()
      Gets the query for a distributor. Multiple retrievals produce a nested OR term.
      Returns:
      the distributor query
      Throws:
      UnimplementedException - supportsDistributorQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsDistributorQuery()} is {@code true} .
    • clearDistributorTerms

      void clearDistributorTerms()
      Clears the distributor 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.