Interface QueueProcessorQuery

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

public interface QueueProcessorQuery extends OsidProcessorQuery

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

  • Method Details

    • matchAutomatic

      void matchAutomatic(boolean match)
      Matches automatic processors.
      Parameters:
      match - true to match automatic processors, false to match manual processors
      Compliance:
      mandatory - This method must be implemented.
    • clearAutomaticTerms

      void clearAutomaticTerms()
      Clears the automatic query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchFifo

      void matchFifo(boolean match)
      Matches first-in-first-out processors.
      Parameters:
      match - true to match fifo processors, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • clearFifoTerms

      void clearFifoTerms()
      Clears the fifo query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchRemovesProcessedQueueEntries

      void matchRemovesProcessedQueueEntries(boolean match)
      Matches processors that remove processed queue entries.
      Parameters:
      match - true to match removing queue entry processors, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • clearRemovesProcessedQueueEntriesTerms

      void clearRemovesProcessedQueueEntriesTerms()
      Clears the removes processed queue entries query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchRuledQueueId

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

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

      boolean supportsRuledQueueQuery()
      Tests if a QueueQuery is available.
      Returns:
      true if a queue query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledQueueQuery

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

      void matchAnyRuledQueue(boolean match)
      Matches mapped to any queue.
      Parameters:
      match - true for mapped to any queue, false to match mapped to no queue
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledQueueTerms

      void clearRuledQueueTerms()
      Clears the queue 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.
    • getQueueProcessorQueryRecord

      QueueProcessorQueryRecord getQueueProcessorQueryRecord(Type queueProcessorRecordType) throws OperationFailedException
      Gets the queue processor query record corresponding to the given QueueProcessor record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      queueProcessorRecordType - a queue processor record type
      Returns:
      the queue processor query record
      Throws:
      NullArgumentException - queueProcessorRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(queueProcessorRecordType) is false
      Compliance:
      mandatory - This method must be implemented.