Interface PoolProcessorEnablerQuery

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

public interface PoolProcessorEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledPoolProcessorId

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

      void clearRuledPoolProcessorIdTerms()
      Clears the pool processor Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledPoolProcessorQuery

      boolean supportsRuledPoolProcessorQuery()
      Tests if a PoolProcessorQuery is available.
      Returns:
      true if a pool processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledPoolProcessorQuery

      PoolProcessorQuery getRuledPoolProcessorQuery()
      Gets the query for a pool processor. Multiple retrievals produce a nested OR term.
      Returns:
      the pool processor query
      Throws:
      UnimplementedException - supportsRuledPoolProcessorQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledPoolProcessorQuery()} is {@code true} .
    • matchAnyRuledPoolProcessor

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

      void clearRuledPoolProcessorTerms()
      Clears the pool processor query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchDistributorId

      void matchDistributorId(Id distributorId, boolean match)
      Matches enablers mapped to the distributor.
      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.
    • getPoolProcessorEnablerQueryRecord

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