Interface DispatchProcessorEnablerQuery

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

public interface DispatchProcessorEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledDispatchProcessorId

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

      void clearRuledDispatchProcessorIdTerms()
      Clears the dispatch processor Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledDispatchProcessorQuery

      boolean supportsRuledDispatchProcessorQuery()
      Tests if a DispatchProcessorQuery is available.
      Returns:
      true if a dispatch processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledDispatchProcessorQuery

      DispatchProcessorQuery getRuledDispatchProcessorQuery()
      Gets the query for a dispatch processor. Multiple retrievals produce a nested OR term.
      Returns:
      the dispatch processor query
      Throws:
      UnimplementedException - supportsRuledDispatchProcessorQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledDispatchProcessorQuery()} is {@code true} .
    • matchAnyRuledDispatchProcessor

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

      void clearRuledDispatchProcessorTerms()
      Clears the dispatch processor enabler query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchPublisherId

      void matchPublisherId(Id publisherId, boolean match)
      Sets the publisher Id for this query to match dispatches assigned to publishers.
      Parameters:
      publisherId - the publisher Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - publisherId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearPublisherIdTerms

      void clearPublisherIdTerms()
      Clears the publisher Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsPublisherQuery

      boolean supportsPublisherQuery()
      Tests if a PublisherQuery is available.
      Returns:
      true if a publisher query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getPublisherQuery

      PublisherQuery getPublisherQuery()
      Gets the query for a publisher. Multiple retrievals produce a nested OR term.
      Returns:
      the publisher query
      Throws:
      UnimplementedException - supportsPublisherQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsPublisherQuery()} is {@code true} .
    • clearPublisherTerms

      void clearPublisherTerms()
      Clears the publisher query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getDispatchProcessorEnablerQueryRecord

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