OSID Logo
OSID Specifications
bidding package
Version 3.1.0
Interfaceosid.bidding.AuctionHouseQuery
Implementsosid.OsidCatalogQuery
Used Byosid.bidding.AuctionHouseQuery
osid.bidding.AuctionHouseQuerySession
osid.bidding.AuctionHouseSearchSession
osid.bidding.AuctionQuery
osid.bidding.BidQuery
osid.bidding.rules.AuctionConstrainerEnablerQuery
osid.bidding.rules.AuctionConstrainerQuery
osid.bidding.rules.AuctionProcessorEnablerQuery
osid.bidding.rules.AuctionProcessorQuery
osid.bidding.rules.BidEnablerQuery
Description

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

MethodmatchAuctionId
Description

Sets the auction Id for this query.

Parametersosid.id.IdauctionId the auction Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT auctionId is null
Compliancemandatory This method must be implemented.
MethodclearAuctionIdTerms
Description

Clears the auction Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAuctionQuery
Description

Tests if an AuctionQuery is available.

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

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

Returnosid.bidding.AuctionQuery the auction query
ErrorsUNIMPLEMENTED supportsAuctionQuery() is false
Complianceoptional This method must be implemented if supportsAuctionQuery() is true.
MethodmatchAnyAuction
Description

Matches auction houses with any auction.

Parametersbooleanmatch true to match auction houses with any auction, false to match auction houses with no auction
Compliancemandatory This method must be implemented.
MethodclearAuctionTerms
Description

Clears the auction query terms.

Compliancemandatory This method must be implemented.
MethodmatchBidId
Description

Sets the bid Id for this query.

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

Clears the bid Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsBidQuery
Description

Tests if a BidQuery is available.

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

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

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

Matches auction houses that have any bid.

Parametersbooleanmatch true to match auction houses with any bid, false to match auction houses with no bid
Compliancemandatory This method must be implemented.
MethodclearBidTerms
Description

Clears the bid query terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorAuctionHouseId
Description

Sets the auction house Id for this query to match auction houses that have the specified auction house as an ancestor.

Parametersosid.id.IdauctionHouseId an 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.
MethodclearAncestorAuctionHouseIdTerms
Description

Clears the ancestor auction house Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorAuctionHouseQuery
Description

Tests if an AuctionHouseQuery is available.

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

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

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

Matches auction houses with any ancestor.

Parametersbooleanmatch true to match auction houses with any ancestor, false to match root auction houses
Compliancemandatory This method must be implemented.
MethodclearAncestorAuctionHouseTerms
Description

Clears the ancestor auction house query terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantAuctionHouseId
Description

Sets the auction house Id for this query to match auction houses that have the specified auction house as a descendant.

Parametersosid.id.IdauctionHouseId an 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.
MethodclearDescendantAuctionHouseIdTerms
Description

Clears the descendant auction house Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantAuctionHouseQuery
Description

Tests if an AuctionHouseQuery is available.

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

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

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

Matches auction houses with any descendant.

Parametersbooleanmatch true to match auction houses with any descendant, false to match leaf auction houses
Compliancemandatory This method must be implemented.
MethodclearDescendantAuctionHouseTerms
Description

Clears the descendant auction house query terms.

Compliancemandatory This method must be implemented.
MethodgetAuctionHouseQueryRecord
Description

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

Parametersosid.type.TypeauctionHouseRecordType an auction house record type
Returnosid.bidding.records.AuctionHouseQueryRecord the auction house query record
ErrorsNULL_ARGUMENT auctionHouseRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(auctionHouseRecordType) is false
Compliancemandatory This method must be implemented.