OSID Logo
OSID Specifications
bidding rules package
Version 3.0.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.IdbidIdthe bid Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbidId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledBidIdTerms
Description

Clears the bid Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledBidQuery
Description

Tests if a BidQuery is available.

Returnbooleantrue if a bid query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledBidQuery
Description

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

Returnosid.bidding.BidQuerythe bid query
ErrorsUNIMPLEMENTEDsupportsRuledBidQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledBidQuery() is true .
MethodmatchAnyRuledBid
Description

Matches mapped to any bid.

Parametersbooleanmatchtrue for mapped to any bid, false to match mapped to no bid
CompliancemandatoryThis method must be implemented.
MethodclearRuledBidTerms
Description

Clears the bid query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAuctionHouseId
Description

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

Parametersosid.id.IdauctionHouseIdthe auction house Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTauctionHouseId is null
CompliancemandatoryThis method must be implemented.
MethodclearAuctionHouseIdTerms
Description

Clears the auction house Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAuctionHouseQuery
Description

Tests if an AuctionHouseQuery is available.

Returnbooleantrue if an auction house query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAuctionHouseQuery
Description

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

Returnosid.bidding.AuctionHouseQuerythe auction house query
ErrorsUNIMPLEMENTEDsupportsAuctionHouseQuery() is false
ComplianceoptionalThis method must be implemented if supportsAuctionHouseQuery() is true .
MethodclearAuctionHouseTerms
Description

Clears the auction house query terms.

CompliancemandatoryThis 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.TypebidEnablerRecordTypea bid enabler record type
Returnosid.bidding.rules.records.BidEnablerQueryRecordthe bid enabler query record
ErrorsNULL_ARGUMENTbidEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(bidEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.