OSID Logo
OSID Specifications
bidding rules package
Version 3.0.0
Interfaceosid.bidding.rules.AuctionProcessorSmartAuctionHouseSession
Implementsosid.OsidSession
Used Byosid.bidding.rules.BiddingRulesManager
osid.bidding.rules.BiddingRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic auction houses. An AuctionProcessorQuery can be retrieved from this session and mapped to this AuctionHouse to create a virtual collection of auction processors. The auction processor may be sequenced using the AuctionProcessorSearchOrder from this session.

This AuctionHouse has a default query that matches any auction processor and a default search order that specifies no sequencing. The queries may be examined using an AuctionProcessorQueryInspector . The query may be modified by converting the inspector back to an AuctionProcessorQuery .

MethodgetAuctionHouseId
Description

Gets the AuctionHouse Id associated with this session.

Returnosid.id.Idthe AuctionHouse Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetAuctionHouse
Description

Gets the AuctionHouse associated with this session.

Returnosid.bidding.AuctionHousethe auction house
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartAuctionHouses
Description

Tests if this user can manage smart auction houses. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED . This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnbooleanfalse if smart auction house management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAuctionProcessorQuery
Description

Gets an auction processor query.

Returnosid.bidding.rules.AuctionProcessorQuerythe auction processor query
CompliancemandatoryThis method must be implemented.
MethodgetAuctionProcessorSearchOrder
Description

Gets an auction processor search order.

Returnosid.bidding.rules.AuctionProcessorSearchOrderthe auction processor search order
CompliancemandatoryThis method must be implemented.
MethodapplyAuctionProcessorQuery
Description

Applies an auction processor query to this auction house.

Parametersosid.bidding.rules.AuctionProcessorQueryauctionProcessorQuerythe auction processor query
ErrorsNULL_ARGUMENTauctionProcessorQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDauctionProcessorQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectAuctionProcessorQuery
Description

Gets an auction processor query inspector for this auction house.

Returnosid.bidding.rules.AuctionProcessorQueryInspectorthe auction processor query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyAuctionProcessorSequencing
Description

Applies an auction processor search order to this auction house.

Parametersosid.bidding.rules.AuctionProcessorSearchOrderauctionProcessorSearchOrderthe auction processor search order
ErrorsNULL_ARGUMENTauctionProcessorSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDauctionProcessorSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetAuctionProcessorQueryFromInspector
Description

Gets an auction processor query from an inspector.

Parametersosid.bidding.rules.AuctionProcessorQueryInspectorauctionProcessorQueryInspectoran auction processor query inspector
Returnosid.bidding.rules.AuctionProcessorQuerythe auction processor query
ErrorsNULL_ARGUMENTauctionProcessorQueryInspector is null
UNSUPPORTEDauctionProcessorQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.