Interface DispatchConstrainerEnablerQuery

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

public interface DispatchConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledDispatchConstrainerId

      void matchRuledDispatchConstrainerId(Id dispatchConstrainerId, boolean match)
      Matches dispatch constrainers enabelrs mapped to the dispatch constrainer.
      Parameters:
      dispatchConstrainerId - the dispatch constrainer Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - dispatchConstrainerId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledDispatchConstrainerIdTerms

      void clearRuledDispatchConstrainerIdTerms()
      Clears the dispatch constrainer Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledDispatchConstrainerQuery

      boolean supportsRuledDispatchConstrainerQuery()
      Tests if a DispatchConstrainerQuery is available.
      Returns:
      true if a dispatch constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledDispatchConstrainerQuery

      DispatchConstrainerQuery getRuledDispatchConstrainerQuery()
      Gets the query for a dispatch constrainer. Multiple retrievals produce a nested OR term.
      Returns:
      the dispatch query
      Throws:
      UnimplementedException - supportsRuledDispatchConstrainerQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledDispatchConstrainerQuery()} is {@code true} .
    • matchAnyRuledDispatchConstrainer

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

      void clearRuledDispatchConstrainerTerms()
      Clears the dispatch constrainer 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.
    • getDispatchConstrainerEnablerQueryRecord

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