Interface PoolConstrainerEnablerQuery

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

public interface PoolConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledPoolConstrainerId

      void matchRuledPoolConstrainerId(Id poolConstrainerId, boolean match)
      Matches mapped to the pool constrainer.
      Parameters:
      poolConstrainerId - the pool constrainer Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - poolConstrainerId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledPoolConstrainerIdTerms

      void clearRuledPoolConstrainerIdTerms()
      Clears the pool constrainer Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledPoolConstrainerQuery

      boolean supportsRuledPoolConstrainerQuery()
      Tests if a PoolConstrainerQuery is available.
      Returns:
      true if a pool constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledPoolConstrainerQuery

      PoolConstrainerQuery getRuledPoolConstrainerQuery()
      Gets the query for a pool constrainer. Multiple retrievals produce a nested OR term.
      Returns:
      the pool constrainer rquery
      Throws:
      UnimplementedException - supportsRuledPoolConstrainerQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledPoolConstrainerQuery()} is {@code true} .
    • matchAnyRuledPoolConstrainer

      void matchAnyRuledPoolConstrainer(boolean match)
      Matches mapped to any pool constrainer.
      Parameters:
      match - true for mapped to any pool constrainer, false to match mapped to no pool constrainer
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledPoolConstrainerTerms

      void clearRuledPoolConstrainerTerms()
      Clears the pool constrainer 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 pools 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.
    • getPoolConstrainerEnablerQueryRecord

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