Interface BrokerProcessorEnablerQuery

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

public interface BrokerProcessorEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledBrokerProcessorId

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

      void clearRuledBrokerProcessorIdTerms()
      Clears the broker processor Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledBrokerProcessorQuery

      boolean supportsRuledBrokerProcessorQuery()
      Tests if a BrokerProcessorQuery is available.
      Returns:
      true if a broker processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledBrokerProcessorQuery

      BrokerProcessorQuery getRuledBrokerProcessorQuery()
      Gets the query for a broker processor. Multiple retrievals produce a nested OR term.
      Returns:
      the broker processor query
      Throws:
      UnimplementedException - supportsRuledBrokerProcessorQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledBrokerProcessorQuery()} is {@code true} .
    • matchAnyRuledBrokerProcessor

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

      void clearRuledBrokerProcessorTerms()
      Clears the broker processor 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 brokers 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.
    • getBrokerProcessorEnablerQueryRecord

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