OSID Logo
OSID Specifications
bidding rules package
Version 3.1.0
Interfaceosid.bidding.rules.BidEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.bidding.rules.BidEnablerQuerySession
osid.bidding.rules.BidEnablerSearchSession
osid.bidding.rules.BidEnablerSmartAuctionHouseSession
Description

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.

MethodmatchRuledBidId
Description

Matches mapped to the bid.

Parametersosid.id.IdbidId the bid Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT bidId is null
Compliancemandatory This method must be implemented.
MethodclearRuledBidIdTerms
Description

Clears the bid Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledBidQuery
Description

Tests if a BidQuery is available.

Returnboolean true if a bid query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledBidQuery
Description

Gets the query for a bid. Multiple retrievals produce a nested OR term.

Returnosid.bidding.BidQuery the bid query
ErrorsUNIMPLEMENTED supportsRuledBidQuery() is false
Complianceoptional This method must be implemented if supportsRuledBidQuery() is true.
MethodmatchAnyRuledBid
Description

Matches mapped to any bid.

Parametersbooleanmatch true for mapped to any bid, false to match mapped to no bid
Compliancemandatory This method must be implemented.
MethodclearRuledBidTerms
Description

Clears the bid query terms.

Compliancemandatory This method must be implemented.
MethodmatchAuctionHouseId
Description

Sets the auction house Id for this query to match bids assigned to auction houses.

Parametersosid.id.IdauctionHouseId the auction house Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT auctionHouseId is null
Compliancemandatory This method must be implemented.
MethodclearAuctionHouseIdTerms
Description

Clears the auction house Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAuctionHouseQuery
Description

Tests if an AuctionHouseQuery is available.

Returnboolean true if an auction house query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAuctionHouseQuery
Description

Gets the query for an auction house. Multiple retrievals produce a nested OR term.

Returnosid.bidding.AuctionHouseQuery the auction house query
ErrorsUNIMPLEMENTED supportsAuctionHouseQuery() is false
Complianceoptional This method must be implemented if supportsAuctionHouseQuery() is true.
MethodclearAuctionHouseTerms
Description

Clears the auction house query terms.

Compliancemandatory This method must be implemented.
MethodgetBidEnablerQueryRecord
Description

Gets the bid enabler query record corresponding to the given BidEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypebidEnablerRecordType a bid enabler record type
Returnosid.bidding.rules.records.BidEnablerQueryRecord the bid enabler query record
ErrorsNULL_ARGUMENT bidEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(bidEnablerRecordType) is false
Compliancemandatory This method must be implemented.