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 a AND term while multiple invocations of the same method produce a nested OR .

  • Method Details

    • matchRuledQueueId

      void matchRuledQueueId(Id queueId, boolean match)
      Matches rules 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 any rule mapped to any queue.
      Parameters:
      match - true for rules mapped to any queue, false to match rules 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.
    • matchFrontOfficeId

      void matchFrontOfficeId(Id frontOfficeId, boolean match)
      Matches rules 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.
    • 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.