Interface BidEnablerQuery

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

public interface BidEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledBidId

      void matchRuledBidId(Id bidId, boolean match)
      Matches mapped to the bid.
      Parameters:
      bidId - the bid Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - bidId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledBidIdTerms

      void clearRuledBidIdTerms()
      Clears the bid Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledBidQuery

      boolean supportsRuledBidQuery()
      Tests if a BidQuery is available.
      Returns:
      true if a bid query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledBidQuery

      BidQuery getRuledBidQuery()
      Gets the query for a bid. Multiple retrievals produce a nested OR term.
      Returns:
      the bid query
      Throws:
      UnimplementedException - supportsRuledBidQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledBidQuery()} is {@code true} .
    • matchAnyRuledBid

      void matchAnyRuledBid(boolean match)
      Matches mapped to any bid.
      Parameters:
      match - true for mapped to any bid, false to match mapped to no bid
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledBidTerms

      void clearRuledBidTerms()
      Clears the bid query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchAuctionHouseId

      void matchAuctionHouseId(Id auctionHouseId, boolean match)
      Sets the auction house Id for this query to match bids assigned to auction houses.
      Parameters:
      auctionHouseId - the auction house Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - auctionHouseId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearAuctionHouseIdTerms

      void clearAuctionHouseIdTerms()
      Clears the auction house Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsAuctionHouseQuery

      boolean supportsAuctionHouseQuery()
      Tests if an AuctionHouseQuery is available.
      Returns:
      true if an auction house query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getAuctionHouseQuery

      AuctionHouseQuery getAuctionHouseQuery()
      Gets the query for an auction house. Multiple retrievals produce a nested OR term.
      Returns:
      the auction house query
      Throws:
      UnimplementedException - supportsAuctionHouseQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsAuctionHouseQuery()} is {@code true} .
    • clearAuctionHouseTerms

      void clearAuctionHouseTerms()
      Clears the auction house query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getBidEnablerQueryRecord

      BidEnablerQueryRecord getBidEnablerQueryRecord(Type bidEnablerRecordType) throws OperationFailedException
      Gets the bid enabler query record corresponding to the given BidEnabler record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      bidEnablerRecordType - a bid enabler record type
      Returns:
      the bid enabler query record
      Throws:
      NullArgumentException - bidEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(bidEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.