OSID Logo
OSID Specifications
bidding rules package
Version 3.0.0
Interfaceosid.bidding.rules.AuctionConstrainerQuery
Implementsosid.OsidConstrainerQuery
Used Byosid.bidding.rules.AuctionConstrainerEnablerQuery
osid.bidding.rules.AuctionConstrainerQuerySession
osid.bidding.rules.AuctionConstrainerSearchSession
osid.bidding.rules.AuctionConstrainerSmartAuctionHouseSession
Description

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 .

MethodmatchRuledAuctionId
Description

Matches mapped to the auction.

Parametersosid.id.IdauctionIdthe auction Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTauctionId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledAuctionIdTerms
Description

Clears the auction Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledAuctionQuery
Description

Tests if an AuctionQuery is available.

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

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

Returnosid.bidding.AuctionQuerythe auction query
ErrorsUNIMPLEMENTEDsupportsRuledAuctionQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledAuctionQuery() is true .
MethodmatchAnyRuledAuction
Description

Matches mapped to any auction.

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

Clears the auction query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAuctionHouseId
Description

Matches mapped to the auction house.

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.
MethodgetAuctionConstrainerQueryRecord
Description

Gets the auction constrainer query record corresponding to the given AuctionConstrainer record Type . Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeauctionConstrainerRecordTypean auction constrainer record type
Returnosid.bidding.rules.records.AuctionConstrainerQueryRecordthe auction constrainer query record
ErrorsNULL_ARGUMENTauctionConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(auctionConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.