Interface QueueProcessorEnablerQuery

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

public interface QueueProcessorEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledQueueProcessorId

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

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

      boolean supportsRuledQueueProcessorQuery()
      Tests if a QueueProcessorQuery is available.
      Returns:
      true if a queue processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledQueueProcessorQuery

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

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

      void clearRuledQueueProcessorTerms()
      Clears the queue processor 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.
    • getQueueProcessorEnablerQueryRecord

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