Interface AuctionConstrainerQuery

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

public interface AuctionConstrainerQuery extends OsidConstrainerQuery

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

  • Method Details

    • matchRuledAuctionId

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

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

      boolean supportsRuledAuctionQuery()
      Tests if an AuctionQuery is available.
      Returns:
      true if an auction query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledAuctionQuery

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

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

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

      void matchAuctionHouseId(Id auctionHouseId, boolean match)
      Matches mapped to the auction house.
      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.
    • getAuctionConstrainerQueryRecord

      AuctionConstrainerQueryRecord getAuctionConstrainerQueryRecord(Type auctionConstrainerRecordType) throws OperationFailedException
      Gets the auction constrainer query record corresponding to the given AuctionConstrainer record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      auctionConstrainerRecordType - an auction constrainer record type
      Returns:
      the auction constrainer query record
      Throws:
      NullArgumentException - auctionConstrainerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(auctionConstrainerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.